summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--worldedit/cuboid.lua (renamed from worldedit_commands/cuboidapi.lua)0
-rw-r--r--worldedit/init.lua1
-rw-r--r--worldedit_commands/cuboid.lua3
3 files changed, 1 insertions, 3 deletions
diff --git a/worldedit_commands/cuboidapi.lua b/worldedit/cuboid.lua
index ce20761..ce20761 100644
--- a/worldedit_commands/cuboidapi.lua
+++ b/worldedit/cuboid.lua
diff --git a/worldedit/init.lua b/worldedit/init.lua
index ec6e99d..343a1e4 100644
--- a/worldedit/init.lua
+++ b/worldedit/init.lua
@@ -37,6 +37,7 @@ 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")
if minetest.setting_getbool("log_mods") then
diff --git a/worldedit_commands/cuboid.lua b/worldedit_commands/cuboid.lua
index 065c2ca..88f0260 100644
--- a/worldedit_commands/cuboid.lua
+++ b/worldedit_commands/cuboid.lua
@@ -1,6 +1,3 @@
-dofile(minetest.get_modpath("worldedit_commands") .. "/cuboidapi.lua")
-
-
minetest.register_chatcommand("/outset", {
params = "[h|v] <amount>",
description = "outset the selection",