From 24496d1de7f1efb27406801eabb1847078281f8b Mon Sep 17 00:00:00 2001 From: Leijurv Date: Wed, 8 Aug 2018 15:55:18 -0700 Subject: [PATCH] fixed crucial bug that prevented you from falling all the way to bedrock --- src/main/java/baritone/bot/pathing/movement/MovementHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/bot/pathing/movement/MovementHelper.java b/src/main/java/baritone/bot/pathing/movement/MovementHelper.java index f456b4a1..08272112 100644 --- a/src/main/java/baritone/bot/pathing/movement/MovementHelper.java +++ b/src/main/java/baritone/bot/pathing/movement/MovementHelper.java @@ -223,7 +223,7 @@ public interface MovementHelper extends ActionCosts, Helper { // let's see how far we can fall for (int fallHeight = 3; true; fallHeight++) { BlockPos onto = dest.down(fallHeight); - if (onto.getY() <= 0) { + if (onto.getY() < 0) { break; } IBlockState ontoBlock = BlockStateInterface.get(onto);