From ebad3de0050236fde93c24a1b971a59a5f8e69e3 Mon Sep 17 00:00:00 2001 From: Leijurv Date: Sat, 11 Aug 2018 17:09:32 -0700 Subject: [PATCH] it helps to actually walk towards where you're going lol --- .../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 907b9722..156eeaba 100644 --- a/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java +++ b/src/main/java/baritone/bot/pathing/movement/movements/MovementAscend.java @@ -132,6 +132,7 @@ public class MovementAscend extends Movement { } return state.setStatus(MovementStatus.UNREACHABLE); } + MovementHelper.moveTowards(state, dest); //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;