We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7adec24 commit 1abf25eCopy full SHA for 1abf25e
1 file changed
src/main/java/team/chisel/block/BlockQuickcrete.java
@@ -36,8 +36,8 @@ public void speedupPlayer(PlayerTickEvent event) {
36
if (below == this) {
37
manualInputCheck.updatePlayerMoveState();
38
if (manualInputCheck.moveForward != 0 || manualInputCheck.moveStrafe != 0) {
39
- player.motionX = Math.min(1.3f, player.motionX * (Configurations.concreteVelocityMult + speedup));
40
- player.motionZ = Math.min(1.3f, player.motionZ * (Configurations.concreteVelocityMult + speedup));
+ player.motionX = Math.max(-1.2F, Math.min(1.2f, player.motionX * (Configurations.concreteVelocityMult + speedup)));
+ player.motionZ = Math.max(-1.2F, Math.min(1.2f, player.motionZ * (Configurations.concreteVelocityMult + speedup)));
41
}
42
43
0 commit comments