Skip to content
Permalink
Browse files

Fix //move again

  • Loading branch information
sfan5 committed May 20, 2013
1 parent d7ae19b commit a1dcc432106074d932e699eaa2643c91beb0869d
Showing with 2 additions and 5 deletions.
  1. +2 −5 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

0 comments on commit a1dcc43

Please sign in to comment.