mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-26 15:37:27 +01:00
Forgot to include a check for node name in last commit...
This commit is contained in:
parent
a9152327a2
commit
86f69d9f52
@ -169,7 +169,9 @@ minetest.register_node("jeija:mesecon_inverter_on", {
|
|||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_on_placenode(function(pos, node)
|
minetest.register_on_placenode(function(pos, node)
|
||||||
mesecon:receptor_on(pos)
|
if node.name=="jeija:mesecon_inverter" then
|
||||||
|
mesecon:receptor_on(pos)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user