Skip to content

Commit

Permalink
Fixed an issue with Cataclysm classic not having the "ENCOUNTER_LOOT_…
Browse files Browse the repository at this point in the history
…RECEIVED" event.
  • Loading branch information
Tercioo committed Jun 7, 2024
1 parent 68e15ac commit 7750e1f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions boot.lua
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
local addonName, Details222 = ...
local version, build, date, tocversion = GetBuildInfo()

Details.build_counter = 12800
Details.alpha_build_counter = 12800 --if this is higher than the regular counter, use it instead
Details.build_counter = 12801
Details.alpha_build_counter = 12801 --if this is higher than the regular counter, use it instead
Details.dont_open_news = true
Details.game_version = version
Details.userversion = version .. " " .. Details.build_counter
Expand Down
5 changes: 4 additions & 1 deletion frames/window_mythicplus/window_end_of_run.lua
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,10 @@ _G.MythicDungeonFrames = mythicDungeonFrames
--frame to handle loot events
local lootFrame = CreateFrame("frame", "DetailsEndOfMythicLootFrame", UIParent)
lootFrame:RegisterEvent("BOSS_KILL")
lootFrame:RegisterEvent("ENCOUNTER_LOOT_RECEIVED")

if (C_EventUtils.IsEventValid("ENCOUNTER_LOOT_RECEIVED")) then
lootFrame:RegisterEvent("ENCOUNTER_LOOT_RECEIVED")
end

--register the loot players looted at the end of the mythic dungeon
lootFrame.LootCache = {}
Expand Down

0 comments on commit 7750e1f

Please sign in to comment.