From 14ec80289abfca502c77a220da7699b9efb2d875 Mon Sep 17 00:00:00 2001 From: feildmaster Date: Tue, 18 Dec 2012 03:37:37 -0600 Subject: Refactor get/setChestPlate to Chestplate. Addresses BUKKIT-3189 This method was inconsistent with previous methods. --- src/main/java/org/bukkit/inventory/EntityEquipment.java | 4 ++-- 1 file 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 -- cgit v1.2.3