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