Fix furnace not cooking when hopper inserts item

This commit is contained in:
Wuzzy 2017-06-12 22:51:17 +02:00
parent 38e30fee8d
commit 7ecae53502
2 changed files with 9 additions and 1 deletions

View file

@ -308,6 +308,10 @@ minetest.register_abm({
end
if slot_id then
mcl_util.move_item_container(pos, "main", slot_id, downpos)
if g == 4 then
-- Start furnace's timer function, it will sort out whether furnace can burn or not.
minetest.get_node_timer(downpos):start(1.0)
end
end
end,
})
@ -366,6 +370,8 @@ minetest.register_abm({
if slot_id then
mcl_util.move_item_container(pos, "main", slot_id, front, "fuel")
end
-- Start furnace's timer function, it will sort out whether furnace can burn or not.
minetest.get_node_timer(front):start(1.0)
end
end
})