mirror of
https://github.com/minetest-mods/magma_conduits.git
synced 2025-01-08 21:47:34 +01:00
apparently set_lighting and calc_lighting are only supposed to be called on mapgen voxelmanipulators
This commit is contained in:
parent
8fe6a4cd8e
commit
e749dfe39f
@ -140,9 +140,6 @@ local patch_func = function(patch_area, patch_content)
|
||||
if changes_made then
|
||||
--send data back to voxelmanip
|
||||
map_vm:set_data(patch_data)
|
||||
--calc lighting
|
||||
map_vm:set_lighting({day = 0, night = 0})
|
||||
map_vm:calc_lighting()
|
||||
--write it to world
|
||||
map_vm:write_to_map()
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user