mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-21 02:41:17 +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);
|
$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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user