From 4f80744673c45fba3292919758606e743cf12176 Mon Sep 17 00:00:00 2001 From: HybridDog Date: Tue, 15 Sep 2015 17:47:15 +0200 Subject: [PATCH] update code --- technic/machines/other/frames.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/technic/machines/other/frames.lua b/technic/machines/other/frames.lua index ea5f6aa..01ab1bd 100644 --- a/technic/machines/other/frames.lua +++ b/technic/machines/other/frames.lua @@ -644,7 +644,7 @@ local function template_connected(pos,c,connectors) for _,vect in ipairs({{x=0,y=1,z=0},{x=0,y=0,z=1},{x=0,y=0,z=-1},{x=1,y=0,z=0},{x=-1,y=0,z=0},{x=0,y=-1,z=0}}) do local pos1=vector.add(pos,vect) local nodename=minetest.get_node(pos1).name - if not(pos_in_list(c,pos1)) + if not pos_in_list(c,pos1) and (nodename=="technic:template" or nodename == "technic:template_connector")then local meta = minetest.get_meta(pos1) if meta:get_string("connected") == "" then