mirror of
https://github.com/mt-mods/homedecor_modpack.git
synced 2024-12-23 00:20:17 +01:00
Quick n' dirty hax to make locked furnaces work again.
This commit is contained in:
parent
bae93a8ba9
commit
fb49c08aea
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user