mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-04-22 16:51:42 +00:00
Fix lighting *facepalm*
http://rmsnews.com/wp-content/uploads/2015/06/clavier-avec-uniquement-ctrl-c-et-ctrl-v.jpg
This commit is contained in:
parent
15f7cfb4f7
commit
039d6a488a
@ -195,11 +195,11 @@ class SubChunk{
|
||||
|
||||
public function getBlockLightArray() : string{
|
||||
assert(strlen($this->blockLight) === 2048, "Wrong length of light array, expecting 2048 bytes, got " . strlen($this->blockLight));
|
||||
return $this->data;
|
||||
return $this->blockLight;
|
||||
}
|
||||
|
||||
public function getSkyLightArray() : string{
|
||||
assert(strlen($this->skyLight) === 2048, "Wrong length of skylight array, expecting 2048 bytes, got " . strlen($this->skyLight));
|
||||
return $this->data;
|
||||
return $this->skyLight;
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user