mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-07-06 10:01:53 +00:00
Added Client Lag detection
This commit is contained in:
parent
4321a03935
commit
533c179622
@ -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…
x
Reference in New Issue
Block a user