forked from minetest-mods/mesecons
Fix microcontroller digging
This commit is contained in:
parent
961b955f2d
commit
05def1540a
@ -129,7 +129,7 @@ minetest.register_node(nodename, {
|
|||||||
update_yc(pos)
|
update_yc(pos)
|
||||||
end,
|
end,
|
||||||
mesecons = mesecons,
|
mesecons = mesecons,
|
||||||
on_dig = function (pos, node)
|
after_dig_node = function (pos, node)
|
||||||
rules = mesecon:get_rules(node.name)
|
rules = mesecon:get_rules(node.name)
|
||||||
mesecon:receptor_off(pos, rules)
|
mesecon:receptor_off(pos, rules)
|
||||||
end,
|
end,
|
||||||
|
Loading…
Reference in New Issue
Block a user