Level: Clarified documentation on getChunk()

This commit is contained in:
Dylan K. Taylor 2018-01-02 18:05:30 +00:00
parent 7339c4ac2f
commit 417f2d8998

View File

@ -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
*/