summaryrefslogtreecommitdiff
path: root/jeija
diff options
context:
space:
mode:
Diffstat (limited to 'jeija')
-rw-r--r--jeija/temperest.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/jeija/temperest.lua b/jeija/temperest.lua
index 134c7b8..6a0e63a 100644
--- a/jeija/temperest.lua
+++ b/jeija/temperest.lua
@@ -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
)