Skip to content

Commit a1dcc43

Browse files
committedMay 20, 2013
Fix //move again
1 parent d7ae19b commit a1dcc43

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed
 

‎worldedit_commands/init.lua

+2-5
Original file line numberDiff line numberDiff line change
@@ -560,11 +560,8 @@ minetest.register_chatcommand("/move", {
560560
amount = amount * sign
561561
end
562562

563-
local tenv = minetest.env
564-
if worldedit.ENABLE_QUEUE then
565-
tenv = worldedit.quene_aliasenv
566-
end
567-
local count = worldedit.move(pos1, pos2, axis, tonumber(amount), tenv)
563+
--Do NOT use the queue here, it'll mess it up
564+
local count = worldedit.move(pos1, pos2, axis, tonumber(amount))
568565

569566
pos1[axis] = pos1[axis] + amount
570567
pos2[axis] = pos2[axis] + amount

0 commit comments

Comments
 (0)
Please sign in to comment.