forked from minetest-mods/mesecons
Forgot to include a check for node name in last commit...
This commit is contained in:
parent
a9152327a2
commit
86f69d9f52
|
@ -169,8 +169,10 @@ minetest.register_node("jeija:mesecon_inverter_on", {
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_on_placenode(function(pos, node)
|
minetest.register_on_placenode(function(pos, node)
|
||||||
|
if node.name=="jeija:mesecon_inverter" then
|
||||||
mesecon:receptor_on(pos)
|
mesecon:receptor_on(pos)
|
||||||
end
|
end
|
||||||
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
minetest.register_on_dignode(
|
minetest.register_on_dignode(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user