Whoops, left this out.

This commit is contained in:
Jason Mitchell committed 2018-01-01 10:24:53 -08:00
1 parent bd5c5e4f75
commit d536b1077e
1 file changed
+9 -1
@@ -246,7 +246,15 @@ public class LumberAxe extends AOEHarvestTool
}
// break it, wooo!
tool.breakExtraBlock(player.worldObj, x, y, z, 0, player, x, y, z);
boolean cancelHarvest = false;
for (ActiveToolMod mod : TConstructRegistry.activeModifiers) {
if (mod.beforeBlockBreak(tool, stack, x, y, z, player)) {
cancelHarvest = true;
}
}
if(!cancelHarvest)
tool.breakExtraBlock(player.worldObj, x, y, z, 0, player, x, y, z);
left--;
}
}