ascension can just register any event

This commit is contained in:
andrew6180
2024-06-10 11:37:40 -07:00
parent 89f47690a3
commit b4fb6ed2ae
@@ -87,10 +87,7 @@ _G.MythicDungeonFrames = mythicDungeonFrames
--frame to handle loot events
local lootFrame = CreateFrame("frame", "DetailsEndOfMythicLootFrame", UIParent)
lootFrame:RegisterEvent("BOSS_KILL")
if (C_EventUtils.IsEventValid("ENCOUNTER_LOOT_RECEIVED")) then
lootFrame:RegisterEvent("ENCOUNTER_LOOT_RECEIVED")
end
lootFrame:RegisterEvent("ENCOUNTER_LOOT_RECEIVED")
--register the loot players looted at the end of the mythic dungeon
lootFrame.LootCache = {}