Skip to content

Commit

Permalink
Merge pull request #723 from WowRarity/area-poi-fix
Browse files Browse the repository at this point in the history
Fix an oversight in the Area POI detection
  • Loading branch information
rdw-software authored Jun 8, 2024
2 parents b384b9e + 459d698 commit a6d4251
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 @@ -719,7 +719,7 @@ function R:IsAttemptAllowed(item)
end
end

if not Rarity.AreaPOIs.HasActiveAreaPOIs(item.requiredAreaPOIs) then
if item.requiredAreaPOIs and not Rarity.AreaPOIs.HasActiveAreaPOIs(item.requiredAreaPOIs) then
Rarity:Debug(format("Attempts for item %s are disallowed (requires active area POIs)", item.name))
return false
end
Expand Down

0 comments on commit a6d4251

Please sign in to comment.