Skip to content

Fix: Quest Tracker Visibility Bug - #2100

Open
svart2521 wants to merge 1 commit into
EllesmereGaming:mainfrom
svart2521:quest-tracker-visibility-bug
Open

svart2521 wants to merge 1 commit into
EllesmereGaming:mainfrom
svart2521:quest-tracker-visibility-bug

Conversation

@svart2521

Copy link
Copy Markdown
Contributor

Bug: https://discord.com/channels/585577383847788554/1544897213438627870

Issue: The shared "Instances" Show/Hide visibility axis (used by Quest Tracker and every other module offering "Hide for Instances") never matched battlegrounds. Reporter confirmed a random battleground stayed visible with "Hide for Instances" checked, while dungeons/raids/delves correctly hid.

Fix: EllesmereUI.IsInInstancedContent() early-returned false whenever GetInstanceInfo()'s difficultyID was <= 0, before ever checking instanceType. Battlegrounds report a difficultyID of 0 (PvP content has no difficulty setting), so that guard tripped for every battleground regardless of the instanceType == "pvp" check further down. Removed the redundant difficultyID gate; the instanceType whitelist already correctly scopes the probe to real instanced content.

Bug:

Issue: The shared "Instances" Show/Hide visibility axis (used by Quest
Tracker and every other module offering "Hide for Instances") never
matched battlegrounds. Reporter confirmed a random battleground stayed
visible with "Hide for Instances" checked, while dungeons/raids/delves
correctly hid.
Fix: EllesmereUI.IsInInstancedContent() early-returned false whenever
GetInstanceInfo()'s difficultyID was <= 0, before ever checking
instanceType. Battlegrounds report a difficultyID of 0 (PvP content has
no difficulty setting), so that guard tripped for every battleground
regardless of the instanceType == "pvp" check further down. Removed the
redundant difficultyID gate; the instanceType whitelist already
correctly scopes the probe to real instanced content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant