Fix area clearing step of negative //move's

fixes #187
This commit is contained in:
sfan5 2019-11-13 20:49:25 +01:00
parent 5bab991e0b
commit 8feaf8a21d
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ function worldedit.move(pos1, pos2, axis, amount)
nuke_area({x=0, y=0, z=0}, leftover)
else
local top = {x=0, y=0, z=0} -- offset of the leftover slice from pos1
top[axis] = dim[axis] - 1
top[axis] = dim[axis] - math.abs(amount)
nuke_area(top, leftover)
end
end