mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Rename Chunk::getSubChunkChecked() -> getSubChunk()
This commit is contained in:
@@ -104,10 +104,10 @@ class LightPopulationTask extends AsyncTask{
|
||||
$blockLightArrays = igbinary_unserialize($this->resultBlockLightArrays);
|
||||
|
||||
foreach($skyLightArrays as $y => $array){
|
||||
$chunk->getSubChunkChecked($y)->setBlockSkyLightArray($array);
|
||||
$chunk->getSubChunk($y)->setBlockSkyLightArray($array);
|
||||
}
|
||||
foreach($blockLightArrays as $y => $array){
|
||||
$chunk->getSubChunkChecked($y)->setBlockLightArray($array);
|
||||
$chunk->getSubChunk($y)->setBlockLightArray($array);
|
||||
}
|
||||
$chunk->setLightPopulated();
|
||||
}
|
||||
|
Reference in New Issue
Block a user