From a1dcc432106074d932e699eaa2643c91beb0869d Mon Sep 17 00:00:00 2001 From: Sfan5 Date: Mon, 20 May 2013 20:48:12 +0200 Subject: [PATCH 1/1] Fix //move again --- worldedit_commands/init.lua | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua index c90e855..79f58a1 100644 --- a/worldedit_commands/init.lua +++ b/worldedit_commands/init.lua @@ -560,11 +560,8 @@ minetest.register_chatcommand("/move", { amount = amount * sign end - local tenv = minetest.env - if worldedit.ENABLE_QUEUE then - tenv = worldedit.quene_aliasenv - end - local count = worldedit.move(pos1, pos2, axis, tonumber(amount), tenv) + --Do NOT use the queue here, it'll mess it up + local count = worldedit.move(pos1, pos2, axis, tonumber(amount)) pos1[axis] = pos1[axis] + amount pos2[axis] = pos2[axis] + amount -- 2.44.0