mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-19 23:37:45 +00:00
Added Client Lag detection
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user