Skip to content

Commit

Permalink
Update Core.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
rdw-software committed Oct 19, 2023
1 parent e6a905a commit 2c1f250
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core.lua
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ function R:IsAttemptAllowed(item)
end

local dungeonID = select(10, GetInstanceInfo())
if dungeonID and not item.requiredDungeons[dungeonID] then
if dungeonID and item.requiredDungeons and not item.requiredDungeons[dungeonID] then
Rarity:Debug(format("Attempts for item %s are disallowed (not a required dungeon: %d)", item.name, dungeonID))
return false
end
Expand Down

0 comments on commit 2c1f250

Please sign in to comment.