mirror of
https://github.com/oldminecraftcommunity/NostalgiaCore.git
synced 2026-11-20 11:39:43 +00:00
Updated flat preset, do not allow empty Level names
This commit is contained in:
parent
bb9067acd7
commit
a7a45dfe96
3 changed files with 5 additions and 2 deletions
|
|
@ -324,8 +324,8 @@ class PocketMinecraftServer{
|
|||
public function tick(){
|
||||
$time = microtime(true);
|
||||
if($this->lastTick <= ($time - 0.05)){
|
||||
unset($this->tickMeasure[key($this->tickMeasure)]);
|
||||
$this->tickMeasure[] = $this->lastTick = $time;
|
||||
unset($this->tickMeasure[key($this->tickMeasure)]);
|
||||
$this->tickerFunction($time);
|
||||
$this->trigger("server.tick", $time);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue