From ae2d1131a5a9dc0bd26d0e38125e50b2032d2d0f Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 11 Aug 2018 17:10:23 -0700 Subject: [PATCH] oh wait yeah you also have to jump --- .../baritone/bot/pathing/movement/movements/MovementAscend.java | 1 + 1 file changed, 1 insertion(+) 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 156eeaba..e855c1f9 100644 --- a/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java +++ b/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java @@ -133,6 +133,7 @@ public class MovementAscend extends Movement { return state.setStatus(MovementStatus.UNREACHABLE); } MovementHelper.moveTowards(state, dest); + state.setInput(InputOverrideHandler.Input.JUMP, true); //double flatDistToNext = Math.abs(to.getX() - from.getX()) * Math.abs((to.getX() + 0.5D) - thePlayer.posX) + Math.abs(to.getZ() - from.getZ()) * Math.abs((to.getZ() + 0.5D) - thePlayer.posZ); //boolean pointingInCorrectDirection = MovementManager.moveTowardsBlock(to); //MovementManager.jumping = flatDistToNext < 1.2 && pointingInCorrectDirection;