mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-01-28 00:19:57 +07:00
Fixed server verifying mobile player positions
This commit is contained in:
parent
c9b77e4e23
commit
e210d9c08e
@ -169,7 +169,7 @@ public class NetServer extends Module{
|
||||
NetConnection connection = Net.getConnection(id);
|
||||
if(player == null || connection == null || packet.snapid < connection.lastRecievedClientSnapshot) return;
|
||||
|
||||
boolean verifyPosition = !player.isDead() && !debug && headless;
|
||||
boolean verifyPosition = !player.isDead() && !debug && headless && !player.isMobile;
|
||||
|
||||
if(connection.lastRecievedClientTime == 0) connection.lastRecievedClientTime = TimeUtils.millis() - 16;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user