From 5d5355867c8b9b8641c729cbf00b5af84865e5ac Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 4 Aug 2017 03:42:24 +0200 Subject: [PATCH] Hoppers: Don't suck from fuel and dst at once --- mods/ITEMS/mcl_hoppers/init.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mods/ITEMS/mcl_hoppers/init.lua b/mods/ITEMS/mcl_hoppers/init.lua index 769f425d0f..cd2546ae92 100644 --- a/mods/ITEMS/mcl_hoppers/init.lua +++ b/mods/ITEMS/mcl_hoppers/init.lua @@ -265,10 +265,10 @@ minetest.register_abm({ local upnode = minetest.get_node(uppos) if not minetest.registered_nodes[upnode.name] then return end local g = minetest.registered_nodes[upnode.name].groups.container - mcl_util.move_item_container(uppos, pos) + local sucked = mcl_util.move_item_container(uppos, pos) -- Also suck in non-fuel items from furnace fuel slot - if g == 4 then + if not sucked and g == 4 then local finv = minetest.get_inventory({type="node", pos=uppos}) if finv and not mcl_util.is_fuel(finv:get_stack("fuel", 1)) then mcl_util.move_item_container(uppos, pos, "fuel")