mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-24 13:39: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:
|
case MC_SET_HEALTH:
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
}elseif(($p["counter"] - $this->receiveCount) > 16){
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->handleDataPacket($p["id"], $p);
|
$this->handleDataPacket($p["id"], $p);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue