Quick n' dirty hax to make locked furnaces work again.

This commit is contained in:
kaeza 2013-10-01 16:41:47 -03:00
parent bae93a8ba9
commit fb49c08aea

View File

@ -249,7 +249,7 @@ function homedecor_register_furnace(name, furnacedef)
minetest.register_node(name_active, def_active) minetest.register_node(name_active, def_active)
minetest.register_abm({ minetest.register_abm({
nodenames = {name, name_active}, nodenames = {name, name_active, name.."_locked", name_active.."_locked"},
interval = 1.0, interval = 1.0,
chance = 1, chance = 1,
action = function(pos, node, active_object_count, active_object_count_wider) action = function(pos, node, active_object_count, active_object_count_wider)