Merge pull request #3 from varttist/voxelmanip-minor-fix

Setting the `light` parameter in the `VoxelManip:write_to_map()` to optional
This commit is contained in:
Alexander Chibrikin
2025-10-04 15:06:23 +03:00
committed by GitHub

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