mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-25 02:00:39 +01:00
Fix //rotate for real this time.
This commit is contained in:
parent
0664cde287
commit
f1cfc47189
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user