diff options
author | feildmaster <admin@feildmaster.com> | 2012-12-18 03:37:37 -0600 |
---|---|---|
committer | feildmaster <admin@feildmaster.com> | 2012-12-18 03:46:45 -0600 |
commit | 14ec80289abfca502c77a220da7699b9efb2d875 (patch) | |
tree | 917a1c72624232d5a95633b72752ebddf1200234 /src/main/java | |
parent | e48765bafb1e67b56347762475203250c59b51c8 (diff) | |
download | bukkit-14ec80289abfca502c77a220da7699b9efb2d875.tar bukkit-14ec80289abfca502c77a220da7699b9efb2d875.tar.gz bukkit-14ec80289abfca502c77a220da7699b9efb2d875.tar.lz bukkit-14ec80289abfca502c77a220da7699b9efb2d875.tar.xz bukkit-14ec80289abfca502c77a220da7699b9efb2d875.zip |
Refactor get/setChestPlate to Chestplate. Addresses BUKKIT-3189
This method was inconsistent with previous methods.
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/bukkit/inventory/EntityEquipment.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/inventory/EntityEquipment.java b/src/main/java/org/bukkit/inventory/EntityEquipment.java index f2a71199..4311d3d3 100644 --- a/src/main/java/org/bukkit/inventory/EntityEquipment.java +++ b/src/main/java/org/bukkit/inventory/EntityEquipment.java @@ -145,7 +145,7 @@ public interface EntityEquipment { * * @return the chance of the chest plate being dropped (1 for players) */ - float getChestPlateDropChance(); + float getChestplateDropChance(); /** * Sets the chance of the chest plate being dropped upon this creature's death @@ -156,7 +156,7 @@ public interface EntityEquipment { * @param chance of the chest plate being dropped * @throws UnsupportedOperationException when called on players */ - void setChestPlateDropChance(float chance); + void setChestplateDropChance(float chance); /** * Gets the chance of the leggings being dropped upon this creature's death |