From 93ea558ec3d92de13abb4ea24eb264a432f6d89d Mon Sep 17 00:00:00 2001 From: NuclearW Date: Mon, 21 May 2012 07:41:49 -0400 Subject: [PATCH] Cleanup --- src/main/java/com/gmail/nossr50/util/Skills.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/util/Skills.java b/src/main/java/com/gmail/nossr50/util/Skills.java index 64a9846e9..36c2f3fe6 100644 --- a/src/main/java/com/gmail/nossr50/util/Skills.java +++ b/src/main/java/com/gmail/nossr50/util/Skills.java @@ -341,13 +341,13 @@ public class Skills { /** * Handle tool durability loss from abilities. * - * @param inhand The item to damage + * @param inHand The item to damage * @param durabilityLoss The durability to remove from the item */ - public static void abilityDurabilityLoss(ItemStack inhand, int durabilityLoss) { + public static void abilityDurabilityLoss(ItemStack inHand, int durabilityLoss) { if (Config.getInstance().getAbilitiesDamageTools()) { - if (!inhand.containsEnchantment(Enchantment.DURABILITY)) { - inhand.setDurability((short) (inhand.getDurability() + durabilityLoss)); + if (!inHand.containsEnchantment(Enchantment.DURABILITY)) { + inHand.setDurability((short) (inHand.getDurability() + durabilityLoss)); } } }