unfix the oopsie fix

This commit is contained in:
Buurazu authored and GitHub committed 2024-01-14 06:54:06 -05:00
1 parent 078c9b8b5c
commit f31b5dfa7a
1 file changed
+1 -1
+1 -1
View File
@@ -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