mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-02 00:30:07 +01:00
Forgot to change references
This commit is contained in:
parent
b61410b6eb
commit
a4aebdc643
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user