Fix crash if using furnace
This commit is contained in:
parent
2a075a8ff1
commit
bc5da1d9b1
@ -605,7 +605,7 @@ minetest.register_abm({
|
||||
if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
|
||||
local percent = math.floor(meta:get_float("fuel_time") /
|
||||
meta:get_float("fuel_totaltime") * 100)
|
||||
meta:set_string("infotext", S("Active furnace (Flame used: @1%) (Rightclick to examine)"), percent)
|
||||
meta:set_string("infotext", S("Active furnace (Flame used: @1%) (Rightclick to examine)", percent))
|
||||
swap_node(pos,"tutorial_default:furnace_active")
|
||||
meta:set_string("formspec",default.get_furnace_active_formspec(pos, percent))
|
||||
return
|
||||
|
Loading…
x
Reference in New Issue
Block a user