mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-01 17:38:41 +00:00
Use proper furnace cook time
This commit is contained in:
parent
bf8cfce50e
commit
9c3830dd35
1 changed files with 1 additions and 1 deletions
|
@ -1341,7 +1341,7 @@ minetest.register_abm({
|
|||
was_active = true
|
||||
meta:set_float("fuel_time", meta:get_float("fuel_time") + 1)
|
||||
meta:set_float("src_time", meta:get_float("src_time") + 1)
|
||||
if cooked and cooked.item and meta:get_float("src_time") >= 3 then
|
||||
if cooked and cooked.item and meta:get_float("src_time") >= cooked.time then
|
||||
-- check if there's room for output in "dst" list
|
||||
if inv:room_for_item("dst",cooked.item) then
|
||||
-- Put result in "dst" list
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue