mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-21 00:07:30 +00:00
Fixed crash when using Level scheduled block update ReversePriorityQueue
This commit is contained in:
parent
d0936329aa
commit
81faddafb0
@ -210,6 +210,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
|
||||
$this->folderName = $name;
|
||||
$this->updateQueue = new ReversePriorityQueue();
|
||||
$this->updateQueue->setExtractFlags(\SplPriorityQueue::EXTR_BOTH);
|
||||
$this->startTime = $this->time = (int) $this->provider->getTime();
|
||||
$this->nextSave = $this->startCheck = microtime(true);
|
||||
$this->nextSave = microtime(true) + 90;
|
||||
|
Loading…
x
Reference in New Issue
Block a user