fix brainlet block breaking issue
This commit is contained in:
parent
9f271b1f44
commit
8a396db80e
@ -63,11 +63,12 @@ public final class BlockBreakHelper implements Helper {
|
||||
ctx.player().swingArm(EnumHand.MAIN_HAND);
|
||||
}
|
||||
|
||||
ctx.playerController().setHittingBlock(false);
|
||||
|
||||
didBreakLastTick = true;
|
||||
} else if (didBreakLastTick) {
|
||||
stopBreakingBlock();
|
||||
didBreakLastTick = false;
|
||||
}
|
||||
ctx.playerController().setHittingBlock(false);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user