mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
packet sending is not handled by tickerFunction anymore
This commit is contained in:
parent
fc334e7c99
commit
19a66be51a
2 changed files with 6 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue