mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-10-17 04:06:54 +00:00
Explosion: Recalculate light on destroyed blocks
this has been a bug for a long long time. I think the reason it was never addressed is because of the performance impact associated with it. However, that performance impact is now gone thanks to light update batching.
This commit is contained in:
@@ -230,6 +230,7 @@ class Explosion{
|
||||
|
||||
$t->close();
|
||||
}
|
||||
$this->level->updateAllLight($block);
|
||||
|
||||
$pos = new Vector3($block->x, $block->y, $block->z);
|
||||
|
||||
|
Reference in New Issue
Block a user