Cata fixes.

This commit is contained in:
Flamanis
2024-04-20 10:15:23 -05:00
parent 4ded6cefc7
commit 3e1212a7ec
6 changed files with 8 additions and 3 deletions
+1
View File
@@ -158,6 +158,7 @@ function Details222.EJCache.CreateEncounterJournalDump()
--use current tier for dungeons, as the current tier shows the dungeons used for the current season of Mythic+
local startIndex, endIndex
if (bIsRaid) then
if currentTierId == 1 then break end --Cata has only one tier. Looking up tier 0 errors. ~CATA
EJ_SelectTier(currentTierId - 1) --print("tier selected:", currentTierId - 1, "raids") --debug
startIndex = raidTierStartIndex
endIndex = 20
+1
View File
@@ -7,6 +7,7 @@ local tinsert = tinsert
local addonName, Details222 = ...
function Details.InstallRaidInfo()
if not DetailsFramework.IsDragonflightWow() then return end --In Cata, EJ_SelectInstance will fail due to instance not existing. This file only contains dragonflight raids anyways. Best keep it on DF only.
do
local INSTANCE_EJID = 1200
local INSTANCE_MAPID = 2522