From a5f7cfdd0a5b45874640f5942b5e6214503d0bad Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 18 Dec 2012 03:37:37 -0600 Subject: [PATCH] Refactor get/setChestPlate to Chestplate. Addresses BUKKIT-3189 This method was inconsistent with previous methods. By: feildmaster --- .../src/main/java/org/bukkit/inventory/EntityEquipment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/inventory/EntityEquipment.java b/paper-api/src/main/java/org/bukkit/inventory/EntityEquipment.java index f2a711999..4311d3d3e 100644 --- a/paper-api/src/main/java/org/bukkit/inventory/EntityEquipment.java +++ b/paper-api/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