mirror of
https://github.com/minetest-mods/magma_conduits.git
synced 2025-01-09 05:57:33 +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
|
if changes_made then
|
||||||
--send data back to voxelmanip
|
--send data back to voxelmanip
|
||||||
map_vm:set_data(patch_data)
|
map_vm:set_data(patch_data)
|
||||||
--calc lighting
|
|
||||||
map_vm:set_lighting({day = 0, night = 0})
|
|
||||||
map_vm:calc_lighting()
|
|
||||||
--write it to world
|
--write it to world
|
||||||
map_vm:write_to_map()
|
map_vm:write_to_map()
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user