Setting the light parameter in the VoxelManip:write_to_map() to optional

This commit is contained in:
Van
2025-10-03 20:57:11 +03:00
parent 8422e67e42
commit 93bf2e5de1

View File

@@ -22,7 +22,7 @@ function VoxelManip:read_from_map(position1, position2) end
--- all modified blocks with `minetest.fix_light()` as soon as possible.
--- Keep in mind that modifying the map where light is incorrect can cause
--- more lighting bugs.
--- @param light boolean Default: true
--- @param light boolean? Default: true
function VoxelManip:write_to_map(light) end
--- Returns a `MapNode` table of the node currently loaded in
--- the `VoxelManip` at that position