Skip to content
This repository has been archived by the owner on Jul 17, 2024. It is now read-only.

Commit

Permalink
[fix] do not change loot spec for legacy loot
Browse files Browse the repository at this point in the history
  • Loading branch information
gegenschall committed Oct 30, 2022
1 parent 3652d45 commit 6e3e539
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions .luacheckrc
Original file line number Diff line number Diff line change
Expand Up @@ -101,5 +101,6 @@ globals = {
"LibStub",
"EncounterJournal",
"C_Map",
"C_Loot",
"EJ_InstanceIsRaid"
}
3 changes: 1 addition & 2 deletions LootSpecManager/LootSpecManager.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ end
function LootSpecManager:OnEncounterStart(_, encounterId, encounterName, difficultyId)
-- This will trigger on bosskills in M+ dungeons and then erroneously overwrite loot spec
-- We also don't want to do anything when legacy loot is enabled
-- if C_ChallengeMode.IsChallengeModeActive() or C_Loot.IsLegacyLootModeEnabled() then
if C_ChallengeMode.IsChallengeModeActive() then
if C_ChallengeMode.IsChallengeModeActive() or C_Loot.IsLegacyLootModeEnabled() then
return
end

Expand Down

0 comments on commit 6e3e539

Please sign in to comment.