mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-22 13:16:45 +01:00
Fixed Tree Feller changing damage value for any item
This commit is contained in:
parent
38656eca72
commit
ec7ced9fd3
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user