From 93bf2e5de170a4a7aa85428baceffbacef2054bf Mon Sep 17 00:00:00 2001 From: Vanic Date: Fri, 3 Oct 2025 20:57:11 +0300 Subject: [PATCH] Setting the `light` parameter in the `VoxelManip:write_to_map()` to optional --- classes/VoxelManip.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/VoxelManip.lua b/classes/VoxelManip.lua index 74723e3..102ede6 100644 --- a/classes/VoxelManip.lua +++ b/classes/VoxelManip.lua @@ -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