From 4d7a1c769fd441d50b3513832b540a48b62b8d23 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 24 Dec 2022 17:21:50 -0500 Subject: [PATCH] Fix empty Flip pedestals erroring out --- eid_api.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/eid_api.lua b/eid_api.lua index f212d632..8494ea47 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -458,6 +458,7 @@ function EID:getObjectItemTypeAndCharge(descObj) return end local itemConfig = EID.itemConfig:GetCollectible(descObj.ObjSubType) + if not itemConfig then return end descObj.ItemType = itemConfig.Type or -1 if descObj.ItemType == ItemType.ITEM_ACTIVE then