mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-11 00:09:39 +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() : [];
|
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
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user