Remove obsolete methods from Chunk

This commit is contained in:
Dylan K. Taylor 2017-01-15 17:43:59 +00:00
parent 0114cb8399
commit bcf049a660

View File

@ -658,22 +658,6 @@ class Chunk{
return $this->tileList[$index] ?? null;
}
/**
* @return bool
*/
public function isLoaded() : bool{
return $this->getProvider() === null ? false : $this->getProvider()->isChunkLoaded($this->getX(), $this->getZ());
}
/**
* @param bool $generate
*
* @return bool
*/
public function load(bool $generate = true) : bool{
return $this->getProvider() === null ? false : $this->getProvider()->getChunk($this->getX(), $this->getZ(), true) instanceof Chunk;
}
/**
* Unloads the chunk, closing entities and tiles.
*