From d78730912794e55e5abbc77e3f8ae6dc011a094b Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Tue, 17 Sep 2024 23:25:43 +0100 Subject: [PATCH] copy, move: add TODO ref being node metadata-aware --- worldeditadditions/lib/copy.lua | 1 + worldeditadditions/lib/move.lua | 2 ++ 2 files changed, 3 insertions(+) diff --git a/worldeditadditions/lib/copy.lua b/worldeditadditions/lib/copy.lua index 33eb39a..d736b28 100644 --- a/worldeditadditions/lib/copy.lua +++ b/worldeditadditions/lib/copy.lua @@ -4,6 +4,7 @@ local Vector3 = wea_c.Vector3 --- -- @module worldeditadditions +-- TODO add `minetest.find_nodes_with_meta(pos1, pos2)` support ref https://github.com/minetest/minetest/blob/5.9.1/doc/lua_api.md?plain=1#L6112 for locked chests, inventories etc. Perhaps for copy add a flag to allow for disabling such support? -- ██████ ██████ ██████ ██ ██ -- ██ ██ ██ ██ ██ ██ ██ diff --git a/worldeditadditions/lib/move.lua b/worldeditadditions/lib/move.lua index 1a06242..32387d1 100644 --- a/worldeditadditions/lib/move.lua +++ b/worldeditadditions/lib/move.lua @@ -5,6 +5,8 @@ local Vector3 = wea_c.Vector3 --- -- @module worldeditadditions +-- TODO add `minetest.find_nodes_with_meta(pos1, pos2)` support ref https://github.com/minetest/minetest/blob/5.9.1/doc/lua_api.md?plain=1#L6112 for locked chests, inventories etc. Perhaps for copy add a flag to allow for disabling such support? + -- ███ ███ ██████ ██ ██ ███████ -- ████ ████ ██ ██ ██ ██ ██ -- ██ ████ ██ ██ ██ ██ ██ █████