diff --git a/src/main/java/baritone/bot/pathing/movement/MovementHelper.java b/src/main/java/baritone/bot/pathing/movement/MovementHelper.java index ef677007..c9475226 100644 --- a/src/main/java/baritone/bot/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/bot/pathing/movement/MovementHelper.java @@ -121,6 +121,9 @@ public interface MovementHelper extends ActionCosts, Helper { if (block instanceof BlockLadder || block instanceof BlockVine) { return true; } + if (block instanceof BlockAir) { + return false; + } if (isWater(block)) { return isWater(pos.up()); // You can only walk on water if there is water above it } diff --git a/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java b/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java index 7c75cea0..58a4e265 100644 --- a/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java +++ b/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java @@ -49,6 +49,9 @@ public class MovementAscend extends Movement { if (!MovementHelper.isAir(positionsToPlace[0]) && !MovementHelper.isWater(positionsToPlace[0])) { return COST_INF; } + if (true) { + return COST_INF; + } for (BlockPos against1 : against) { if (BlockStateInterface.get(against1).isBlockNormalCube()) { return JUMP_ONE_BLOCK_COST + WALK_ONE_BLOCK_COST + PLACE_ONE_BLOCK_COST + getTotalHardnessOfBlocksToBreak(ts);