Use new 5.13.0 explicit VoxelManip free

This commit is contained in:
sfan5
2025-05-30 15:39:06 +02:00
parent 03d4e45e59
commit bf154b12c7
3 changed files with 9 additions and 6 deletions

View File

@ -133,7 +133,9 @@ function mh.finish(manip, data)
manip:set_data(data)
end
manip:write_to_map()
manip:update_map()
if manip.close ~= nil then
manip:close() -- explicitly free memory
end
end