mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 19:59:55 +00:00
Fix lumberaxe chain break not validating held item (#89)
This commit is contained in:
1 parent
eb13403370
commit
5c2320953b
1 file changed
+5
@@ -197,6 +197,11 @@ public class LumberAxe extends AOEHarvestTool {
|
||||
if (event.world.provider.dimensionId != world.provider.dimensionId) {
|
||||
return;
|
||||
}
|
||||
if (stack != player.getCurrentEquippedItem()) {
|
||||
// Player switched held item, we shouldn't proceed furthermore
|
||||
finish();
|
||||
return;
|
||||
}
|
||||
|
||||
// setup
|
||||
int left = blocksPerTick;
|
||||
|
||||
Reference in new issue
Block a user