From 0e036c8208b45ca59b957b87b1609cb8208cea02 Mon Sep 17 00:00:00 2001 From: mrkubax10 Date: Thu, 23 Mar 2023 10:40:53 +0100 Subject: [PATCH] Always take item after processing in Recycler --- machines.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)