1
0
mirror of https://github.com/Uberi/Minetest-WorldEdit.git synced 2024-11-13 06:00:19 +01:00

Unbreak //move (closes #188)

This commit is contained in:
sfan5 2019-12-20 20:29:41 +01:00
parent 18444379a1
commit 116ae25ebd

View File

@ -939,6 +939,7 @@ worldedit.register_command("move", {
amount = amount * sign
end
local pos1, pos2 = worldedit.pos1[name], worldedit.pos2[name]
local count = worldedit.move(pos1, pos2, axis, amount)
pos1[axis] = pos1[axis] + amount