summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Zhang <azhang9@gmail.com>2013-06-02 17:50:14 -0400
committerAnthony Zhang <azhang9@gmail.com>2013-06-02 17:50:14 -0400
commitf1cfc471899b2903e7843dfff44e039704b4009d (patch)
tree572c49e1cd1f66a566fae83fbe75f093ef89edc6
parent0664cde287d2c0c8b3cc8bd0e8bf468e5921b1a7 (diff)
Fix //rotate for real this time.
-rw-r--r--worldedit_commands/init.lua6
1 files changed, 1 insertions, 5 deletions
diff --git a/worldedit_commands/init.lua b/worldedit_commands/init.lua
index d5e7dfb..8099d69 100644
--- a/worldedit_commands/init.lua
+++ b/worldedit_commands/init.lua
@@ -699,11 +699,7 @@ minetest.register_chatcommand("/rotate", {
return
end
- local tenv = minetest.env
- if worldedit.ENABLE_QUEUE then
- tenv = worldedit.queue_aliasenv
- end
- local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle, tenv)
+ local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle)
--reset markers to rotated positions
worldedit.pos1[name] = pos1