summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.lua b/init.lua
index 1948bcf..32bf8e2 100644
--- a/init.lua
+++ b/init.lua
@@ -324,8 +324,8 @@ minetest.register_chatcommand("/move", {
local count = worldedit.move(pos1, pos2, axis, tonumber(amount))
- worldedit.pos1[name][axis] = worldedit.pos1[name][axis] + amount
- worldedit.pos2[name][axis] = worldedit.pos2[name][axis] + amount
+ pos1[axis] = pos1[axis] + amount
+ pos2[axis] = pos2[axis] + amount
worldedit.mark_pos1(name)
worldedit.mark_pos2(name)