Update comparator when a measurable block is dug

This commit is contained in:
Jürgen Rühle 2024-10-30 06:10:24 +01:00 committed by cora
parent f3de3eb1ab
commit 0f47d6fd51

View File

@ -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)