mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-08-20 10:00:31 +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:
parent
1dca9074d5
commit
d2082c0383
@ -230,6 +230,7 @@ class Explosion{
|
||||
|
||||
$t->close();
|
||||
}
|
||||
$this->level->updateAllLight($block);
|
||||
|
||||
$pos = new Vector3($block->x, $block->y, $block->z);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user