mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-23 05:36:46 +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);
|
Woodcutting.beginTreeFeller(event);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
if (Woodcutting.requiresTool) {
|
if (Woodcutting.REQUIRES_TOOL) {
|
||||||
if (ItemChecks.isAxe(heldItem)) {
|
if (ItemChecks.isAxe(heldItem)) {
|
||||||
Woodcutting.beginWoodcutting(player, block);
|
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)) {
|
else if ((profile.getSkillLevel(SkillType.WOODCUTTING) >= Woodcutting.LEAF_BLOWER_UNLOCK_LEVEL) && BlockChecks.isLeaves(block)) {
|
||||||
if (Skills.triggerCheck(player, block, AbilityType.LEAF_BLOWER)) {
|
if (Skills.triggerCheck(player, block, AbilityType.LEAF_BLOWER)) {
|
||||||
if (Woodcutting.requiresTool) {
|
if (Woodcutting.REQUIRES_TOOL) {
|
||||||
if (ItemChecks.isAxe(heldItem)) {
|
if (ItemChecks.isAxe(heldItem)) {
|
||||||
event.setInstaBreak(true);
|
event.setInstaBreak(true);
|
||||||
Woodcutting.beginLeafBlower(player, block);
|
Woodcutting.beginLeafBlower(player, block);
|
||||||
|
Loading…
Reference in New Issue
Block a user