1
0
mirror of https://github.com/cabaletta/baritone synced 2024-12-18 13:15:13 +00:00
This commit is contained in:
Leijurv 2019-02-10 10:44:04 -08:00
parent 1a430dc2cf
commit 9d1d4fe0d9
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A

View File

@ -115,7 +115,7 @@ public final class InputOverrideHandler extends Behavior implements IInputOverri
ctx.player().movementInput = new PlayerMovementInput(this);
}
} else {
if (ctx.player().movementInput.getClass() == PlayerMovementInput.class) { // allow other movement inputs that arent this one, e.g. for a freecam
if (ctx.player().movementInput.getClass() == PlayerMovementInput.class) { // allow other movement inputs that aren't this one, e.g. for a freecam
ctx.player().movementInput = new MovementInputFromOptions(Minecraft.getMinecraft().gameSettings);
}
}