forked from minetest-mods/MoreMesecons
fix wireless digging doesn't disable mesecons at pos
This commit is contained in:
parent
680e21af42
commit
39fd6136e5
@ -69,6 +69,7 @@ minetest.register_node("moremesecons_wireless:wireless", {
|
|||||||
table.remove(wireless, RID)
|
table.remove(wireless, RID)
|
||||||
vector.remove_data_from_pos(wireless_rids, pos.z,pos.y,pos.x)
|
vector.remove_data_from_pos(wireless_rids, pos.z,pos.y,pos.x)
|
||||||
end
|
end
|
||||||
|
mesecon.receptor_off(pos)
|
||||||
end,
|
end,
|
||||||
on_receive_fields = function(pos, formname, fields, sender)
|
on_receive_fields = function(pos, formname, fields, sender)
|
||||||
local meta = minetest.get_meta(pos)
|
local meta = minetest.get_meta(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user