apparently set_lighting and calc_lighting are only supposed to be called on mapgen voxelmanipulators

This commit is contained in:
FaceDeer 2018-11-13 21:02:18 -07:00
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