diff --git a/eid_api.lua b/eid_api.lua index a8741007..2b82c9ca 100644 --- a/eid_api.lua +++ b/eid_api.lua @@ -764,7 +764,8 @@ function EID:getSpindownResult(collectibleID) end function EID:GetMaxCollectibleID() - local id = CollectibleType.NUM_COLLECTIBLES-1 + --start a little lower than NUM_COLLECTIBLES, due to mods with outdated items.xmls that are missing newer items + local id = CollectibleType.NUM_COLLECTIBLES-17 local step = 16 while step > 0 do if EID.itemConfig:GetCollectible(id+step) ~= nil then