explain
This commit is contained in:
parent
e37a09a1c8
commit
1a430dc2cf
@ -115,7 +115,7 @@ public final class InputOverrideHandler extends Behavior implements IInputOverri
|
|||||||
ctx.player().movementInput = new PlayerMovementInput(this);
|
ctx.player().movementInput = new PlayerMovementInput(this);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (ctx.player().movementInput.getClass() == PlayerMovementInput.class) {
|
if (ctx.player().movementInput.getClass() == PlayerMovementInput.class) { // allow other movement inputs that arent this one, e.g. for a freecam
|
||||||
ctx.player().movementInput = new MovementInputFromOptions(Minecraft.getMinecraft().gameSettings);
|
ctx.player().movementInput = new MovementInputFromOptions(Minecraft.getMinecraft().gameSettings);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user