diff --git a/machines.lua b/machines.lua index 6a14a29..a4b67b1 100644 --- a/machines.lua +++ b/machines.lua @@ -407,11 +407,11 @@ local function registerSimpleElectricItemProcessor(config) if meta:get_float("srcTime")>=meta:get_float("maxSrcTime") then local output=craftResultProxy(config.method,srcSlot) if output.item:get_count()>0 then - inv:set_stack("src",1,output.src) inv:add_item("dst",output.item) meta:set_float("srcTime",-1) meta:set_float("maxSrcTime",0) end + inv:set_stack("src",1,output.src) end if not industrialtest.api.isFullyCharged(meta) then industrialtest.api.triggerNeighbours(pos)