mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-14 21:35:07 +00:00
Added Client Lag detection
This commit is contained in:
@ -883,6 +883,8 @@ class Player{
|
||||
case MC_SET_HEALTH:
|
||||
continue;
|
||||
}
|
||||
}elseif(($p["counter"] - $this->receiveCount) > 16){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$this->handleDataPacket($p["id"], $p);
|
||||
|
Reference in New Issue
Block a user