mirror of
https://github.com/minetest-mods/mesecons.git
synced 2024-12-25 23:17:28 +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)
|
||||
mesecon:receptor_on(pos)
|
||||
if node.name=="jeija:mesecon_inverter" then
|
||||
mesecon:receptor_on(pos)
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user