forked from Clones/Controlify
remove vanilla override from jump
This commit is contained in:
1 parent
f0aab6830b
commit
ca56271c6e
2 files changed
+4
-2
No files matched your search
@@ -50,7 +50,10 @@ public class ControllerPlayerMovement extends Input {
|
||||
this.forwardImpulse *= f;
|
||||
}
|
||||
|
||||
this.jumping = bindings.JUMP.held();
|
||||
if (!this.jumping && bindings.JUMP.justPressed())
|
||||
this.jumping = true;
|
||||
else
|
||||
this.jumping = bindings.JUMP.held();
|
||||
|
||||
if (player.getAbilities().flying || player.isInWater() || !controller.config().toggleSneak) {
|
||||
this.shiftKeyDown = bindings.SNEAK.held();
|
||||
|
||||
Reference in new issue
Block a user