From a4aebdc643feb9e91e6a28f565ce155fb2b921bc Mon Sep 17 00:00:00 2001 From: bm01 Date: Fri, 25 Jan 2013 22:44:32 +0100 Subject: [PATCH] Forgot to change references --- src/main/java/com/gmail/nossr50/listeners/BlockListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/BlockListener.java b/src/main/java/com/gmail/nossr50/listeners/BlockListener.java index 434826744..5154a0d3f 100644 --- a/src/main/java/com/gmail/nossr50/listeners/BlockListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/BlockListener.java @@ -185,7 +185,7 @@ public class BlockListener implements Listener { Woodcutting.beginTreeFeller(event); } else { - if (Woodcutting.requiresTool) { + if (Woodcutting.REQUIRES_TOOL) { if (ItemChecks.isAxe(heldItem)) { Woodcutting.beginWoodcutting(player, block); } @@ -367,7 +367,7 @@ public class BlockListener implements Listener { } else if ((profile.getSkillLevel(SkillType.WOODCUTTING) >= Woodcutting.LEAF_BLOWER_UNLOCK_LEVEL) && BlockChecks.isLeaves(block)) { if (Skills.triggerCheck(player, block, AbilityType.LEAF_BLOWER)) { - if (Woodcutting.requiresTool) { + if (Woodcutting.REQUIRES_TOOL) { if (ItemChecks.isAxe(heldItem)) { event.setInstaBreak(true); Woodcutting.beginLeafBlower(player, block);