mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2024-12-26 10:40:40 +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
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
local tenv = minetest.env
|
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle)
|
||||||
if worldedit.ENABLE_QUEUE then
|
|
||||||
tenv = worldedit.queue_aliasenv
|
|
||||||
end
|
|
||||||
local count, pos1, pos2 = worldedit.rotate(pos1, pos2, axis, angle, tenv)
|
|
||||||
|
|
||||||
--reset markers to rotated positions
|
--reset markers to rotated positions
|
||||||
worldedit.pos1[name] = pos1
|
worldedit.pos1[name] = pos1
|
||||||
|
Loading…
Reference in New Issue
Block a user