Fix autocrafting of 64k cells.

This commit is contained in:
Mike Stump 2024-01-01 17:51:16 -08:00
parent 1950c71f72
commit 611b763f68

@ -246,7 +246,7 @@ local function build(net, cpos, inv, name, count, stack, sink, time)
-- we can put any leftovers back into the main inventory. -- we can put any leftovers back into the main inventory.
-- Even this might be too soon, if we have multiple independent crafts going, we -- Even this might be too soon, if we have multiple independent crafts going, we
-- need the last one. -- need the last one.
if previous_ac_size == 0 then if previous_ac_size == 0 and false then
for i = 1,inv:get_size("ac") do for i = 1,inv:get_size("ac") do
local stack = inv:get_stack("ac", i) local stack = inv:get_stack("ac", i)
if stack:get_count() ~= 0 then if stack:get_count() ~= 0 then