Re-making the commit for reported issues on classic wow

This commit is contained in:
Tercioo
2019-05-28 13:25:48 -03:00
parent 7c9a3957b4
commit 6069094af7
3 changed files with 14 additions and 2 deletions
+1 -1
View File
@@ -3636,7 +3636,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
_table_insert (_current_combat.last_events_tables, #_current_combat.last_events_tables+1, t)
--> check if this is a mythic+ run
local mythicLevel = C_ChallengeMode.GetActiveKeystoneInfo()
local mythicLevel = C_ChallengeMode and C_ChallengeMode.GetActiveKeystoneInfo() --classic wow doesn't not have C_ChallengeMode API
if (mythicLevel and type (mythicLevel) == "number" and mythicLevel >= 2) then --several checks to be future proof
--> more checks for integrity
if (_detalhes.tabela_overall and _detalhes.tabela_overall.last_events_tables) then