Permalink
Browse files

Merge branch 'master' of github.com:mcMMO-Dev/mcMMO

  • Loading branch information...
2 parents 859d4f5 + 0541280 commit 445214f0b560031dc04ab008c4de8539eeb5d6b1 @nossr50 nossr50 committed Apr 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/com/gmail/nossr50/listeners/BlockListener.java
View
2 src/main/java/com/gmail/nossr50/listeners/BlockListener.java
@@ -184,7 +184,7 @@ else if (!Config.getInstance().getWoodcuttingRequiresTool()) {
}
}
- 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);
}

0 comments on commit 445214f

Please sign in to comment.