Fixed server verifying mobile player positions

This commit is contained in:
Anuken 2018-07-03 12:29:14 -04:00
parent c9b77e4e23
commit e210d9c08e

View File

@ -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;