diff --git a/src/main/java/baritone/utils/BlockBreakHelper.java b/src/main/java/baritone/utils/BlockBreakHelper.java index d4d03f67..9f5b970d 100644 --- a/src/main/java/baritone/utils/BlockBreakHelper.java +++ b/src/main/java/baritone/utils/BlockBreakHelper.java @@ -55,7 +55,8 @@ public final class BlockBreakHelper implements Helper { } public void stopBreakingBlock() { - if (playerContext.playerController() != null) { + // The player controller will never be null, but the player can be + if (playerContext.player() != null) { playerContext.playerController().resetBlockRemoving(); } lastBlock = null;