misc cleanup

This commit is contained in:
Leijurv
2018-11-05 20:01:46 -08:00
parent 6ca7f47bf9
commit 604ef2bb64
8 changed files with 22 additions and 22 deletions
@@ -226,12 +226,6 @@ public abstract class Movement implements IMovement, Helper, MovementHelper {
state.getInputStates().forEach((input, forced) -> Baritone.INSTANCE.getInputOverrideHandler().setInputForceState(input, forced));
}
public void cancel() {
currentState.getInputStates().replaceAll((input, forced) -> false);
currentState.getInputStates().forEach((input, forced) -> Baritone.INSTANCE.getInputOverrideHandler().setInputForceState(input, forced));
currentState.setStatus(MovementStatus.CANCELED);
}
@Override
public void reset() {
currentState = new MovementState().setStatus(MovementStatus.PREPPING);