mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-21 20:19:44 +00:00
Added Client Lag detection
This commit is contained in:
parent
4321a03935
commit
533c179622
1 changed files with 2 additions and 0 deletions
|
|
@ -883,6 +883,8 @@ class Player{
|
|||
case MC_SET_HEALTH:
|
||||
continue;
|
||||
}
|
||||
}elseif(($p["counter"] - $this->receiveCount) > 16){
|
||||
continue;
|
||||
}
|
||||
}
|
||||
$this->handleDataPacket($p["id"], $p);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue