diff --git a/src/main/java/baritone/bot/pathing/movement/MovementHelper.java b/src/main/java/baritone/bot/pathing/movement/MovementHelper.java index 045e0d9c..78b3a4b5 100644 --- a/src/main/java/baritone/bot/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/bot/pathing/movement/MovementHelper.java @@ -138,10 +138,10 @@ public interface MovementHelper extends ActionCosts, Helper { IBlockState state = BlockStateInterface.get(position); Block block = state.getBlock(); if (!block.equals(Blocks.AIR) && !canWalkThrough(position)) { - if (avoidBreaking(position)) { + if (!Baritone.settings().allowBreak) { return COST_INF; } - if (!Baritone.settings().allowBreak) { + if (avoidBreaking(position)) { return COST_INF; } //if (!Baritone.allowBreakOrPlace) {