mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Break loop
This commit is contained in:
parent
443831c179
commit
64ca5e8188
2
init.lua
2
init.lua
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user