mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-10 13:35:29 +00:00
SubChunk: don't assume 15 sky light when not allocated
closes #2533 at long last...
This commit is contained in:
parent
5d83f4670a
commit
bf67170504
@ -110,7 +110,7 @@ class SubChunk{
|
||||
}
|
||||
|
||||
public function getBlockSkyLightArray() : LightArray{
|
||||
return $this->skyLight ??= LightArray::fill(15);
|
||||
return $this->skyLight ??= LightArray::fill(0);
|
||||
}
|
||||
|
||||
public function setBlockSkyLightArray(LightArray $data) : void{
|
||||
|
Loading…
x
Reference in New Issue
Block a user