Fix //rotate for real this time.

This commit is contained in:
Anthony Zhang 2013-06-02 17:50:14 -04:00
parent 0664cde287
commit f1cfc47189
1 changed files with 1 additions and 5 deletions

View File

@ -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