More fixes for Classic WoW
This version should be stable on Classic WoW.
This commit is contained in:
@@ -170,7 +170,7 @@ function mythicDungeonCharts:OnBossDefeated()
|
||||
local currentCombat = Details:GetCurrentCombat()
|
||||
local segmentType = currentCombat:GetCombatType()
|
||||
local bossInfo = currentCombat:GetBossInfo()
|
||||
local mythicLevel = C_ChallengeMode.GetActiveKeystoneInfo()
|
||||
local mythicLevel = C_ChallengeMode and C_ChallengeMode.GetActiveKeystoneInfo()
|
||||
|
||||
if (mythicLevel and mythicLevel > 0) then
|
||||
if (mythicDungeonCharts.ChartTable and mythicDungeonCharts.ChartTable.Running and bossInfo) then
|
||||
|
||||
@@ -164,6 +164,10 @@ function SlashCmdList.DETAILS (msg, editbox)
|
||||
elseif (command == Loc ["STRING_SLASH_CHANGES"] or command == Loc ["STRING_SLASH_CHANGES_ALIAS1"] or command == Loc ["STRING_SLASH_CHANGES_ALIAS2"] or command == "news" or command == "updates") then
|
||||
_detalhes:OpenNewsWindow()
|
||||
|
||||
elseif (command == "discord") then
|
||||
_detalhes:CopyPaste ("https://discord.gg/AGSzAZX")
|
||||
|
||||
|
||||
elseif (command == "debugwindow") then
|
||||
|
||||
local window1 = Details:GetWindow(1)
|
||||
|
||||
Reference in New Issue
Block a user