fix oopsie on modded item collection page check
This commit is contained in:
1 parent
da9cf9ddef
commit
078c9b8b5c
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user