From 29391af5ad76386f27037f8c98f902857d46f81a Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 14 Sep 2018 15:57:46 -0700 Subject: [PATCH] solidarity --- .../pathing/movement/movements/MovementParkour.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/main/java/baritone/pathing/movement/movements/MovementParkour.java b/src/main/java/baritone/pathing/movement/movements/MovementParkour.java index 130d7244..1d0dcdd4 100644 --- a/src/main/java/baritone/pathing/movement/movements/MovementParkour.java +++ b/src/main/java/baritone/pathing/movement/movements/MovementParkour.java @@ -191,13 +191,8 @@ public class MovementParkour extends Movement { @Override public MovementState updateState(MovementState state) { super.updateState(state); - switch (state.getStatus()) { - case WAITING: - state.setStatus(MovementState.MovementStatus.RUNNING); - case RUNNING: - break; - default: - return state; + if (state.getStatus() != MovementState.MovementStatus.RUNNING) { + return state; } if (dist >= 4) { state.setInput(InputOverrideHandler.Input.SPRINT, true);