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 {