1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-19 13:40:42 +00:00
This commit is contained in:
Leijurv 2018-12-31 08:00:43 -10:00
parent 539b0e64c8
commit 0e012adb6c
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -125,8 +125,7 @@ public abstract class Movement implements IMovement, MovementHelper {
currentState.getTarget().hasToForceRotations())); currentState.getTarget().hasToForceRotations()));
// TODO: calculate movement inputs from latestState.getGoal().position // TODO: calculate movement inputs from latestState.getGoal().position
// latestState.getTarget().position.ifPresent(null); NULL CONSUMER REALLY SHOULDN'T BE THE FINAL THING YOU SHOULD REALLY REPLACE THIS WITH ALMOST ACTUALLY ANYTHING ELSE JUST PLEASE DON'T LEAVE IT AS IT IS THANK YOU KANYE
currentState.getInputStates().forEach((input, forced) -> { currentState.getInputStates().forEach((input, forced) -> {
baritone.getInputOverrideHandler().setInputForceState(input, forced); baritone.getInputOverrideHandler().setInputForceState(input, forced);
}); });