From 7efc0ae8ca75de06f9c6a83fec8aa06f62c8b19d Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 12 Oct 2018 19:33:03 -0700 Subject: [PATCH] fix snow bs --- src/main/java/baritone/pathing/movement/MovementHelper.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/main/java/baritone/pathing/movement/MovementHelper.java b/src/main/java/baritone/pathing/movement/MovementHelper.java index 7517cdce..9fd7d994 100644 --- a/src/main/java/baritone/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/pathing/movement/MovementHelper.java @@ -99,7 +99,9 @@ public interface MovementHelper extends ActionCosts, Helper { return true; } if (snow) { - return state.getValue(BlockSnow.LAYERS) < 5; // see BlockSnow.isPassable + // the check in BlockSnow.isPassable is layers < 5 + // while actually, we want < 3 because 3 or greater makes it impassable in a 2 high ceiling + return state.getValue(BlockSnow.LAYERS) < 3; } if (trapdoor) { return !state.getValue(BlockTrapDoor.OPEN); // see BlockTrapDoor.isPassable