Forgot to include a check for node name in last commit...

This commit is contained in:
Anthony Zhang 2012-02-17 18:25:19 -05:00
parent a9152327a2
commit 86f69d9f52

View File

@ -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
) )