mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 09:56:06 +00:00
Fixed server crash when Tile Entities / Entities were loaded and requested the same chunk
This commit is contained in:
@ -1515,7 +1515,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
return $this->chunks[$index];
|
||||
}elseif(($chunk = $this->provider->getChunk($x, $z, $create)) instanceof FullChunk){
|
||||
$this->chunks[$index] = $chunk;
|
||||
|
||||
$chunk->initChunk();
|
||||
return $chunk;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user