forked from minetest-mods/mesecons
Re-enable backwards compatibility (sorry for disabling)
This commit is contained in:
parent
164971f6d1
commit
9396ce8940
|
@ -315,12 +315,12 @@ minetest.register_craft({
|
|||
}
|
||||
})
|
||||
|
||||
--minetest.register_abm(
|
||||
-- {nodenames = {"mesecons:mesecon_off", "mesecons:mesecon_on"},
|
||||
-- interval = 2,
|
||||
-- chance = 1,
|
||||
-- action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
-- mesecon:update_autoconnect(pos, false, true)
|
||||
-- end,
|
||||
--})
|
||||
minetest.register_abm(
|
||||
{nodenames = {"mesecons:mesecon_off", "mesecons:mesecon_on"},
|
||||
interval = 2,
|
||||
chance = 1,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
mesecon:update_autoconnect(pos, false, true)
|
||||
end,
|
||||
})
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue
Block a user