mirror of
https://github.com/minetest-mods/craftguide.git
synced 2025-07-06 10:00:32 +02:00
Break loop
This commit is contained in:
2
init.lua
2
init.lua
@ -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
|
||||
|
Reference in New Issue
Block a user