mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Moved network check out of level, added server killer for long stops
This commit is contained in:
@ -2479,6 +2479,10 @@ class Server{
|
||||
|
||||
$this->checkTickUpdates($this->tickCounter, $tickTime);
|
||||
|
||||
foreach($this->players as $player){
|
||||
$player->checkNetwork();
|
||||
}
|
||||
|
||||
if(($this->tickCounter & 0b1111) === 0){
|
||||
$this->titleTick();
|
||||
$this->maxTick = 20;
|
||||
|
Reference in New Issue
Block a user