Fixed Tree Feller changing damage value for any item

This commit is contained in:
bm01 2012-04-29 04:59:03 +02:00
parent 38656eca72
commit ec7ced9fd3

View File

@ -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);
}