Unbreak //move (closes #188)

This commit is contained in:
sfan5 2019-12-20 20:29:41 +01:00
rodzic 18444379a1
commit 116ae25ebd
1 zmienionych plików z 1 dodań i 0 usunięć

Wyświetl plik

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