Unbreak //move (closes #188)

This commit is contained in:
sfan5 2019-12-20 20:29:41 +01:00
parent 18444379a1
commit 116ae25ebd
1 changed files with 1 additions and 0 deletions

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