small tweaks

This commit is contained in:
GameHerobrine 2022-10-18 22:59:59 +03:00
parent 08f9193191
commit 2ea5fcd034
2 changed files with 17 additions and 17 deletions

View file

@ -474,8 +474,10 @@ class PocketMinecraftServer{
}
}
$this->tick();
foreach($this->api->level->levels as $l){
$l->onTick($this);
if($this->ticks % 2 === 0){
foreach($this->api->level->levels as $l){
$l->onTick($this);
}
}
}
}