mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-05-17 03:08:58 +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){
|
public function getUsingChunk($X, $Z){
|
||||||
|
$index = PMFLevel::getIndex($X, $Z);
|
||||||
return isset($this->usedChunks[$index]) ? $this->usedChunks[$index]:array();
|
return isset($this->usedChunks[$index]) ? $this->usedChunks[$index]:array();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user