load error on classic

This commit is contained in:
Tercio Jose
2023-01-09 18:04:03 -03:00
parent e5aa616d00
commit eda670d2aa
+11
View File
@@ -396,6 +396,10 @@ do
local bossInfoTable = {} --[bossId] = bossInfo
local raidInfoTable = {}
if (not EncounterJournal_LoadUI) then
return bossIndexedTable, bossInfoTable, raidInfoTable
end
if (not EncounterJournal) then
EncounterJournal_LoadUI()
end
@@ -540,6 +544,10 @@ do
return
end
if (not EncounterJournal_LoadUI) then
return
end
--todo generate encounter spells cache
--delay the cache createation as it is not needed right away
@@ -788,6 +796,9 @@ do
--todo: should run one second after the player_login event or entering_world
C_Timer.After(1, function()
if (not EncounterJournal_LoadUI) then
return
end
createEJCache()
end)