forked from MineClone5/MineClone5
Fix furnaces not starting to cook when inserting
This commit is contained in:
parent
2c16c4db69
commit
cb42fbf9bc
|
@ -169,6 +169,8 @@ local function furnace_node_timer(pos, elapsed)
|
||||||
if srclist[1]:get_name() ~= src_item then
|
if srclist[1]:get_name() ~= src_item then
|
||||||
-- Reset cooking progress in this case
|
-- Reset cooking progress in this case
|
||||||
src_time = 0
|
src_time = 0
|
||||||
|
src_item = srclist[1]:get_name()
|
||||||
|
update = true
|
||||||
|
|
||||||
-- Check if we have enough fuel to burn
|
-- Check if we have enough fuel to burn
|
||||||
elseif fuel_time < fuel_totaltime then
|
elseif fuel_time < fuel_totaltime then
|
||||||
|
|
Loading…
Reference in New Issue