mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-09 03:06:55 +00:00
Merge branch 'stable'
This commit is contained in:
@ -320,11 +320,9 @@ class Chunk{
|
||||
|
||||
$light = 15;
|
||||
for(; $y >= 0; --$y){
|
||||
if($light > 0){
|
||||
$light -= BlockFactory::$lightFilter[$this->getFullBlock($x, $y, $z)];
|
||||
if($light <= 0){
|
||||
break;
|
||||
}
|
||||
$light -= BlockFactory::$lightFilter[$this->getFullBlock($x, $y, $z)];
|
||||
if($light <= 0){
|
||||
break;
|
||||
}
|
||||
$this->setBlockSkyLight($x, $y, $z, $light);
|
||||
}
|
||||
|
Reference in New Issue
Block a user