SubChunk: don't assume 15 sky light when not allocated

closes #2533
at long last...
This commit is contained in:
Dylan K. Taylor 2021-04-15 23:22:53 +01:00
parent 5d83f4670a
commit bf67170504
No known key found for this signature in database
GPG Key ID: 8927471A91CAFD3D

View File

@ -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{