Fixed server crash when Tile Entities / Entities were loaded and requested the same chunk

This commit is contained in:
Shoghi Cervantes
2014-09-28 00:39:49 +02:00
parent ce91f2943a
commit 05a81bebf4
3 changed files with 17 additions and 4 deletions

View File

@ -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;
}