mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-01 14:38:50 +00:00
Update to 1.21.3
This commit is contained in:
1 parent
bc06f67861
commit
8c02fd7430
56 files changed
+609
-573
No files matched your search
@@ -40,8 +40,8 @@ public class EnhancedFlight {
|
||||
}
|
||||
|
||||
float movementY = 0;
|
||||
if (player.input.shiftKeyDown) movementY -= 1;
|
||||
if (player.input.jumping) movementY += 1;
|
||||
if (player.input.keyPresses.shift()) movementY -= 1;
|
||||
if (player.input.keyPresses.sprint()) movementY += 1;
|
||||
if (movementY != 0) {
|
||||
player.move(MoverType.SELF, new Vec3(0, flyingSpeed * movementY * 0.98, 0));
|
||||
|
||||
|
||||
Reference in new issue
Block a user