mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Added index to Level::getUsingChunk()
This commit is contained in:
@@ -63,6 +63,7 @@ class Level{
|
||||
}
|
||||
|
||||
public function getUsingChunk($X, $Z){
|
||||
$index = PMFLevel::getIndex($X, $Z);
|
||||
return isset($this->usedChunks[$index]) ? $this->usedChunks[$index]:array();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user