diff options
author | sfan5 <sfan5@live.de> | 2016-12-10 21:43:38 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2016-12-10 21:54:51 +0100 |
commit | f9311b2b15b2a63845d551be6aaab1d056262fe1 (patch) | |
tree | d36eb9cf765aa0e8d37d83fc272c74716cb2b3f5 | |
parent | 15f0cea72ee3a0f52d9b95bb257782eafc6fb23a (diff) |
Move wand.lua to worldedit_commands
-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 |