I use $level->setBlock() to set blocks (for example, world editor). But when I set blocks, the light update is broken. I've turned on the light update function in server.properties and pocketmine.yml already. So I want to use codes to do that. After $level->setBlock(), how to update light using codes ? Thanks for your help.
Level->updateAllLight(Vector3 $pos); https://github.com/pmmp/PocketMine-MP/blob/master/src/pocketmine/level/Level.php#L1356