Update comparator when a measurable block is dug
This commit is contained in:
parent
f3de3eb1ab
commit
0f47d6fd51
@ -283,3 +283,9 @@ minetest.register_craft({
|
||||
{ "mcl_core:stone", "mcl_core:stone", "mcl_core:stone" },
|
||||
}
|
||||
})
|
||||
|
||||
minetest.register_on_dignode(function (pos, node)
|
||||
if node and measure_tab[node.name] then
|
||||
mcl_redstone.update_comparators(pos)
|
||||
end
|
||||
end)
|
||||
|
Loading…
x
Reference in New Issue
Block a user