From ec7ced9fd3ceb2fd6c4d43bd65f970c62d40f810 Mon Sep 17 00:00:00 2001 From: bm01 Date: Sun, 29 Apr 2012 04:59:03 +0200 Subject: [PATCH] Fixed Tree Feller changing damage value for any item --- src/main/java/com/gmail/nossr50/listeners/BlockListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/listeners/BlockListener.java b/src/main/java/com/gmail/nossr50/listeners/BlockListener.java index 5b6daad56..d54d98072 100644 --- a/src/main/java/com/gmail/nossr50/listeners/BlockListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/BlockListener.java @@ -184,7 +184,7 @@ public class BlockListener implements Listener { } } - if (PP.getAbilityMode(AbilityType.TREE_FELLER) && Permissions.getInstance().treeFeller(player)) { + if (PP.getAbilityMode(AbilityType.TREE_FELLER) && Permissions.getInstance().treeFeller(player) && ItemChecks.isAxe(inhand)) { WoodCutting.treeFeller(event); }