incorrect monitoring of player movement

This commit is contained in:
gnembon committed 2020-04-27 16:10:34 -03:00
1 parent 30e33c9d65
commit 30dd021703
1 file changed
+1 -1
@@ -40,7 +40,7 @@ public class ServerPlayNetworkHandler_tickMixin
{ {
if (Math.abs(p.getX(player.getX()) - lastTickX) > 0.0001D if (Math.abs(p.getX(player.getX()) - lastTickX) > 0.0001D
|| Math.abs(p.getY(player.getY()) - lastTickY) > 0.0001D || Math.abs(p.getY(player.getY()) - lastTickY) > 0.0001D
|| Math.abs(p.getY(player.getZ()) - lastTickZ) > 0.0001D) || Math.abs(p.getZ(player.getZ()) - lastTickZ) > 0.0001D)
{ {
TickSpeed.reset_player_active_timeout(); TickSpeed.reset_player_active_timeout();
} }