mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-09-06 17:59:48 +00:00
World: clean up lighting update API
This commit is contained in:
@ -228,7 +228,7 @@ class Explosion{
|
||||
$t->onBlockDestroyed(); //needed to create drops for inventories
|
||||
}
|
||||
$this->world->setBlockAt($pos->x, $pos->y, $pos->z, $airBlock, false); //TODO: should updating really be disabled here?
|
||||
$this->world->updateAllLight($pos);
|
||||
$this->world->updateAllLight($pos->x, $pos->y, $pos->z);
|
||||
}
|
||||
|
||||
foreach(Facing::ALL as $side){
|
||||
|
Reference in New Issue
Block a user