summaryrefslogtreecommitdiff
path: root/worldedit_commands/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'worldedit_commands/init.lua')
-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