mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 00:33:59 +00:00
Level: Clarified documentation on getChunk()
This commit is contained in:
parent
7339c4ac2f
commit
417f2d8998
@ -2334,11 +2334,12 @@ class Level implements ChunkManager, Metadatable{
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the Chunk object
|
||||
* Returns the chunk at the specified X/Z coordinates. If the chunk is not loaded, attempts to (synchronously!!!)
|
||||
* load it.
|
||||
*
|
||||
* @param int $x
|
||||
* @param int $z
|
||||
* @param bool $create Whether to generate the chunk if it does not exist
|
||||
* @param bool $create Whether to create an empty chunk as a placeholder if the chunk does not exist
|
||||
*
|
||||
* @return Chunk|null
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user