From 9618e45a1181b8d474fdae56e75e84aa1b988274 Mon Sep 17 00:00:00 2001 From: GJ Date: Fri, 8 Mar 2013 07:26:43 -0500 Subject: [PATCH] That was bothering me. --- .../java/com/gmail/nossr50/skills/mining/MiningManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java b/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java index 0fdd74bb6..37d99dec8 100644 --- a/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java +++ b/src/main/java/com/gmail/nossr50/skills/mining/MiningManager.java @@ -66,11 +66,11 @@ public class MiningManager extends SkillManager{ return; } - boolean skillTouch = player.getItemInHand().containsEnchantment(Enchantment.SILK_TOUCH); + boolean silkTouch = player.getItemInHand().containsEnchantment(Enchantment.SILK_TOUCH); for (int i = mcMMOPlayer.getAbilityMode(skill.getAbility()) ? 2 : 1; i != 0; i--) { if (SkillUtils.activationSuccessful(getSkillLevel(), getActivationChance(), Mining.doubleDropsMaxChance, Mining.doubleDropsMaxLevel)) { - if (skillTouch) { + if (silkTouch) { Mining.handleSilkTouchDrops(blockState); } else {