Break loop

This commit is contained in:
Jean-Patrick Guerrero 2020-12-10 21:32:49 +01:00
parent 443831c179
commit 64ca5e8188
1 changed files with 2 additions and 0 deletions

View File

@ -916,6 +916,8 @@ local function craft_stack(player, pname, data, _f)
items[item] = c
remaining = remaining - c
end
if remaining == 0 then break end
end
end
end