From 8a396db80ea6f06c51ee203acacd0d69c4367c5a Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 28 Sep 2019 16:28:58 -0700 Subject: [PATCH] fix brainlet block breaking issue --- src/main/java/baritone/utils/BlockBreakHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/baritone/utils/BlockBreakHelper.java b/src/main/java/baritone/utils/BlockBreakHelper.java index d1f3509e..26e82cd7 100644 --- a/src/main/java/baritone/utils/BlockBreakHelper.java +++ b/src/main/java/baritone/utils/BlockBreakHelper.java @@ -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); } }