1
0
mirror of https://github.com/pmmp/PocketMine-MP.git synced 2025-06-24 12:24:03 +00:00

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

closes 
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

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