mirror of
https://github.com/Uberi/Minetest-WorldEdit.git
synced 2025-01-09 22:37:35 +01:00
Unbreak //move (closes #188)
This commit is contained in:
parent
18444379a1
commit
116ae25ebd
@ -939,6 +939,7 @@ worldedit.register_command("move", {
|
|||||||
amount = amount * sign
|
amount = amount * sign
|
||||||
end
|
end
|
||||||
|
|
||||||
|
local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name]
|
||||||
local count = worldedit.move(pos1, pos2, axis, amount)
|
local count = worldedit.move(pos1, pos2, axis, amount)
|
||||||
|
|
||||||
pos1[axis] = pos1[axis] + amount
|
pos1[axis] = pos1[axis] + amount
|
||||||
|
Loading…
Reference in New Issue
Block a user