mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 08:19:45 +00:00
World: remove dead function getChunkTiles()
This commit is contained in:
parent
17a3ca066e
commit
1111d0d4c7
@ -1964,18 +1964,6 @@ class World implements ChunkManager{
|
||||
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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user