forked from mtcontrib/homedecor_modpack
parent
923198a2dd
commit
bf0c918d4e
@ -226,7 +226,7 @@ function homedecor.register_furnace(name, furnacedef)
|
|||||||
|
|
||||||
-- XXX: Quick patch, make it better in the future.
|
-- XXX: Quick patch, make it better in the future.
|
||||||
local locked = node.name:find("_locked$") and "_locked" or ""
|
local locked = node.name:find("_locked$") and "_locked" or ""
|
||||||
local desc = minetest.registered_nodes[name..locked].description
|
local desc = minetest.registered_nodes[nname..locked].description
|
||||||
|
|
||||||
if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
|
if meta:get_float("fuel_time") < meta:get_float("fuel_totaltime") then
|
||||||
local percent = math.floor(meta:get_float("fuel_time") /
|
local percent = math.floor(meta:get_float("fuel_time") /
|
||||||
|
Loading…
Reference in New Issue
Block a user