From 69762bf4b49809adcec5c925909c19f6561300f3 Mon Sep 17 00:00:00 2001 From: leijurv Date: Sun, 7 Oct 2018 22:07:49 -0700 Subject: [PATCH] fix parkour maybe? fixes #211 --- .../baritone/pathing/movement/movements/MovementParkour.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/pathing/movement/movements/MovementParkour.java b/src/main/java/baritone/pathing/movement/movements/MovementParkour.java index 2310f773..e128bb3c 100644 --- a/src/main/java/baritone/pathing/movement/movements/MovementParkour.java +++ b/src/main/java/baritone/pathing/movement/movements/MovementParkour.java @@ -224,7 +224,7 @@ public class MovementParkour extends Movement { } state.setInput(InputOverrideHandler.Input.JUMP, true); - } else { + } else if(!playerFeet().equals(dest.offset(direction, -1))) { state.setInput(InputOverrideHandler.Input.SPRINT, false); if (playerFeet().equals(src.offset(direction, -1))) { MovementHelper.moveTowards(state, src);