World: remove dead function getChunkTiles()

This commit is contained in:
Dylan K. Taylor 2019-07-29 18:00:23 +01:00
parent 17a3ca066e
commit 1111d0d4c7

View File

@ -1964,18 +1964,6 @@ class World implements ChunkManager{
return ($chunk = $this->getChunk($X, $Z)) !== null ? $chunk->getEntities() : []; return ($chunk = $this->getChunk($X, $Z)) !== null ? $chunk->getEntities() : [];
} }
/**
* Gives a list of the Tile entities on a given chunk
*
* @param int $X
* @param int $Z
*
* @return Tile[]
*/
public function getChunkTiles(int $X, int $Z) : array{
return ($chunk = $this->getChunk($X, $Z)) !== null ? $chunk->getTiles() : [];
}
/** /**
* Gets the raw block skylight level * Gets the raw block skylight level
* *