Fix stack2 amount count
Fix stack2 sign recognition for y & z
local i = 0\r
local translated = {x=0,y=0,z=0}\r
local function nextone()\r
- if i <= amount then\r
+ if i < amount then\r
i = i + 1\r
translated.x = translated.x + direction.x\r
translated.y = translated.y + direction.y\r
end\r
repetitions = tonumber(repetitions)\r
\r
- local x, y, z = incs:match("([+-]?%d+) ([+-]%d+) ([+-]%d+)")\r
+ local x, y, z = incs:match("([+-]?%d+) ([+-]?%d+) ([+-]?%d+)")\r
if x == nil then\r
worldedit.player_notify(name, "invalid increments: " .. param)\r
return\r