ascension can just register any event
This commit is contained in:
@@ -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 = {}
|
||||
|
||||
Reference in New Issue
Block a user