Added index to Level::getUsingChunk()

This commit is contained in:
Shoghi Cervantes 2014-03-01 19:04:18 +01:00
parent c2ad811451
commit fdbefa0571

View File

@ -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();
}