fixed harlem shake and directionality in superhot
This commit is contained in:
1 parent
aeceacc733
commit
8ece019f71
3 files changed
+29
-2
No files matched your search
@@ -36,7 +36,9 @@ public class ServerPlayNetworkHandler_tickMixin
|
||||
))
|
||||
private void checkMove(PlayerMoveC2SPacket p, CallbackInfo ci)
|
||||
{
|
||||
if (p.getX(player.x) - lastTickX > 0.0001D || p.getY(player.y) - lastTickY > 0.0001D || p.getY(player.y) - lastTickY > 0.0001D)
|
||||
if (Math.abs(p.getX(player.x) - lastTickX) > 0.0001D
|
||||
|| Math.abs(p.getY(player.y) - lastTickY) > 0.0001D
|
||||
|| Math.abs(p.getY(player.y) - lastTickY) > 0.0001D)
|
||||
{
|
||||
TickSpeed.reset_player_active_timeout();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user