From 86f69d9f5243e698cd1d6a24a52c847aa3dbb488 Mon Sep 17 00:00:00 2001 From: Anthony Zhang Date: Fri, 17 Feb 2012 18:25:19 -0500 Subject: [PATCH] Forgot to include a check for node name in last commit... --- jeija/temperest.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 )