Fixed being killed on teleport

This commit is contained in:
Shoghi Cervantes
2014-07-14 15:55:16 +02:00
parent 304524f6d8
commit ebe8a902e5
3 changed files with 8 additions and 4 deletions

View File

@@ -47,7 +47,7 @@ class ChunkRequestTask extends AsyncTask{
$this->levelId = $level->getID();
$this->chunkX = $chunkX;
$this->chunkZ = $chunkZ;
$chunk = $level->getChunkAt($chunkX, $chunkZ);
$chunk = $level->getChunkAt($chunkX, $chunkZ, true);
$this->biomeIds = $chunk->getBiomeIdArray();
$this->biomeColors = $chunk->getBiomeColorArray();