Skip to content

Commit f1cfc47

Browse files
committedJun 2, 2013
Fix //rotate for real this time.
1 parent 0664cde commit f1cfc47

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed
 

‎worldedit_commands/init.lua

+1-5
Original file line numberDiff line numberDiff line change
@@ -699,11 +699,7 @@ minetest.register_chatcommand("/rotate", {
699699
return
700700
end
701701

702-
local tenv = minetest.env
703-
if worldedit.ENABLE_QUEUE then
704-
tenv = worldedit.queue_aliasenv
705-
end
706-
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle, tenv)
702+
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle)
707703

708704
--reset markers to rotated positions
709705
worldedit.pos1[name] = pos1

0 commit comments

Comments
 (0)
Please sign in to comment.