From 078c9b8b5c7b15e4ad67550c365289f5542d5ea3 Mon Sep 17 00:00:00 2001 From: Buurazu Date: Sat, 13 Jan 2024 18:56:31 -0500 Subject: [PATCH] fix oopsie on modded item collection page check --- eid_repentogon.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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