incorrect monitoring of player movement
This commit is contained in:
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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user