diff options
-rw-r--r-- | worldedit/init.lua | 1 | ||||
-rw-r--r-- | worldedit_commands/init.lua | 1 | ||||
-rw-r--r-- | worldedit_commands/wand.lua (renamed from worldedit/wand.lua) | 2 |
3 files changed, 2 insertions, 2 deletions
diff --git a/worldedit/init.lua b/worldedit/init.lua index 343a1e4..0305c4d 100644 --- a/worldedit/init.lua +++ b/worldedit/init.lua @@ -36,7 +36,6 @@ load_module(path .. "/visualization.lua") load_module(path .. "/serialization.lua")
load_module(path .. "/code.lua")
load_module(path .. "/compatibility.lua")
-load_module(path .. "/wand.lua")
load_module(path .. "/cuboid.lua")
diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index b9313cc..088191c 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -12,6 +12,7 @@ end dofile(minetest.get_modpath("worldedit_commands") .. "/cuboid.lua")
dofile(minetest.get_modpath("worldedit_commands") .. "/mark.lua")
+dofile(minetest.get_modpath("worldedit_commands") .. "/wand.lua")
local safe_region, check_region = dofile(minetest.get_modpath("worldedit_commands") .. "/safe.lua")
local function get_position(name) --position 1 retrieval function for when not using `safe_region`
diff --git a/worldedit/wand.lua b/worldedit_commands/wand.lua index faf9402..79d9eb2 100644 --- a/worldedit/wand.lua +++ b/worldedit_commands/wand.lua @@ -1,4 +1,4 @@ -minetest.register_tool("worldedit:wand", { +minetest.register_tool(":worldedit:wand", { description = "WorldEdit Wand tool, Left-click to set 1st position, right-click to set 2nd", inventory_image = "worldedit_wand.png", stack_max = 1, -- there is no need to have more than one |