diff options
author | Sfan5 <sfan5@live.de> | 2013-05-20 20:48:12 +0200 |
---|---|---|
committer | Sfan5 <sfan5@live.de> | 2013-05-20 20:48:12 +0200 |
commit | a1dcc432106074d932e699eaa2643c91beb0869d (patch) | |
tree | f7d36f36546c70782979be1c4f66a2e0be76e0ae /worldedit_commands/init.lua | |
parent | d7ae19b7b87137d480ff7b51014d1379955ef664 (diff) |
Fix //move again
Diffstat (limited to 'worldedit_commands/init.lua')
-rw-r--r-- | worldedit_commands/init.lua | 7 |
1 files 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
|