Break loop

This commit is contained in:
Jean-Patrick Guerrero 2020-12-10 21:32:49 +01:00
parent 443831c179
commit 64ca5e8188

View File

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