diff --git a/eid_repentogon.lua b/eid_repentogon.lua index 871917bf..14983df1 100644 --- a/eid_repentogon.lua +++ b/eid_repentogon.lua @@ -7,7 +7,7 @@ local game = Game() -- REPENTOGON: Use PersistentGameData to determine item collection status -- Returns true if an item needs to be collected for the collection page function EID:requiredForCollectionPage(itemID) - if itemID >= CollectibleType.NUM_COLLECTIBLES or game:GetVictoryLap() > 0 or game:GetSeeds():IsCustomRun() then return false end + if itemID > CollectibleType.NUM_COLLECTIBLES or game:GetVictoryLap() > 0 or game:GetSeeds():IsCustomRun() then return false end return not Isaac.GetPersistentGameData():IsItemInCollection(itemID) end