mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
small tweaks
This commit is contained in:
parent
08f9193191
commit
2ea5fcd034
2 changed files with 17 additions and 17 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue