avoid any potential issues from AB+ using the collectible unlock check

This commit is contained in:
Buurazu authored and GitHub committed 2021-11-20 01:48:19 -05:00
1 parent 7e7714ec89
commit e12cdad6de
1 file changed
+2
+2
View File
@@ -800,6 +800,8 @@ function EID:isCollectibleUnlocked(collectibleID, itemPoolOfItem)
end
function EID:isCollectibleUnlockedAnyPool(collectibleID)
--THIS FUNCTION IS FOR REPENTANCE ONLY due to using Repentance XML data; currently used by the Achievement Check, Spindown Dice, and Bag of Crafting
if not REPENTANCE then return true end
local item = EID.itemConfig:GetCollectible(collectibleID)
if EID.itemUnlockStates[collectibleID] == nil then
--whitelist all quest items and items with no associated achievement