From efca551ec98baa4894528c1c874d1f3dbc68993f Mon Sep 17 00:00:00 2001 From: Buurazu Date: Fri, 17 Dec 2021 02:51:52 -0500 Subject: [PATCH] revert position change for mega chests --- main.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.lua b/main.lua index 2693b7e0..e44c1cdc 100644 --- a/main.lua +++ b/main.lua @@ -574,7 +574,8 @@ function EID:onGameUpdate() local pos = entity.Position for _, otherPos in ipairs(curPositions) do if pos:Distance(otherPos[2]) == 0 then - --entity.Position = entity.Position + Vector(1,0) + -- adjust the position so Mega Chests can have both descriptions viewable + entity.Position = entity.Position + Vector(1,0) entity:GetData()["EID_RenderOffset"] = Vector(10,0) otherPos[1]:GetData()["EID_RenderOffset"] = Vector(-10,0) end