packet sending is not handled by tickerFunction anymore

This commit is contained in:
GameHerobrine 2024-02-15 05:25:54 +03:00
parent fc334e7c99
commit 19a66be51a
2 changed files with 6 additions and 2 deletions

View file

@ -595,6 +595,11 @@ class PocketMinecraftServer{
$this->tickMeasure[] = $this->lastTick = $time;
unset($this->tickMeasure[key($this->tickMeasure)]);
++$this->ticks;
foreach($this->clients as $client){
$client->handlePacketQueues();
}
foreach($this->api->level->levels as $l){
$l->onTick($this, $time);
}