mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-16 18:59:00 +00:00
Added index to Level::getUsingChunk()
This commit is contained in:
parent
c2ad811451
commit
fdbefa0571
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user