missed this because it was too far to the right of the screen...

This commit is contained in:
Dylan K. Taylor 2018-09-19 16:20:54 +01:00
parent d291345ed7
commit 0f33459632

View File

@ -1426,7 +1426,7 @@ class Level implements ChunkManager, Metadatable{
$this->skyLightUpdate->setAndUpdateLight($x, $i, $z, 15); $this->skyLightUpdate->setAndUpdateLight($x, $i, $z, 15);
} }
}else{ //No heightmap change, block changed "underground" }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(); $this->timings->doBlockSkyLightUpdates->stopTiming();