mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-20 10:00:31 +00:00
missed this because it was too far to the right of the screen...
This commit is contained in:
parent
d291345ed7
commit
0f33459632
@ -1426,7 +1426,7 @@ class Level implements ChunkManager, Metadatable{
|
||||
$this->skyLightUpdate->setAndUpdateLight($x, $i, $z, 15);
|
||||
}
|
||||
}else{ //No heightmap change, block changed "underground"
|
||||
$this->skyLightUpdate->setAndUpdateLight($x, $y, $z, max(0, $this->getHighestAdjacentBlockSkyLight($x, $y, $z) - BlockFactory::$lightFilter[$sourceId]));
|
||||
$this->skyLightUpdate->setAndUpdateLight($x, $y, $z, max(0, $this->getHighestAdjacentBlockSkyLight($x, $y, $z) - BlockFactory::$lightFilter[$source->getId()]));
|
||||
}
|
||||
|
||||
$this->timings->doBlockSkyLightUpdates->stopTiming();
|
||||
|
Loading…
x
Reference in New Issue
Block a user