mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 19:50:18 +00:00
@@ -2497,6 +2497,8 @@ class Level implements ChunkManager, Metadatable{
|
||||
* @param bool $generate
|
||||
*
|
||||
* @return bool
|
||||
*
|
||||
* @throws \InvalidStateException
|
||||
*/
|
||||
public function loadChunk($x, $z, $generate = true){
|
||||
if(isset($this->chunks[$index = Level::chunkHash($x, $z)])){
|
||||
|
Reference in New Issue
Block a user