From 76c2d8132c4b2828067d15bcd55eecca9627885f Mon Sep 17 00:00:00 2001 From: RealBadAngel <mk@realbadangel.pl> Date: Thu, 18 Apr 2013 00:16:32 +0200 Subject: [PATCH] FIX THAT AGAIN :P --- technic/frames.lua | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-) diff --git a/technic/frames.lua b/technic/frames.lua index 0e095bd..565a2ef 100644 --- a/technic/frames.lua +++ b/technic/frames.lua @@ -97,6 +97,10 @@ type = "fixed", fixed=nodeboxes, }, + selection_box = { + type="fixed", + fixed={-0.5,-0.5,-0.5,0.5,0.5,0.5} + }, paramtype = "light", frame=1, drop="technic:frame_111111", @@ -373,8 +377,8 @@ end for _,obj in ipairs(objects) do obj:setpos(addVect(obj:getpos(),vect)) - if obj:get_luaentity().name == "pipeworks:tubed_item" then - le=obj:get_luaentity() + le=obj:get_luaentity() + if le and le.name == "pipeworks:tubed_item" then le.start_pos=addVect(le.start_pos,vect) end end -- Gitblit v1.8.0