Some logoff error checks

This commit is contained in:
Flamanis
2023-02-07 05:45:45 -06:00
parent 0802fc55c1
commit 3794be028a
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -5813,7 +5813,7 @@ local SPELL_POWER_PAIN = SPELL_POWER_PAIN or (PowerEnum and PowerEnum.Pain) or 1
_detalhes.can_panic_mode = true
end
if (_detalhes.CheckSwitchOnLogon and _detalhes.tabela_instancias[1] and _detalhes.tabela_instancias and getmetatable(_detalhes.tabela_instancias[1])) then
if (_detalhes.CheckSwitchOnLogon and _detalhes.tabela_instancias and _detalhes.tabela_instancias[1] and getmetatable(_detalhes.tabela_instancias[1])) then
tinsert(_detalhes_global.exit_log, "4 - Reversing switches.")
currentStep = "Check Switch on Logon"
xpcall(_detalhes.CheckSwitchOnLogon, saver_error)
+4
View File
@@ -430,7 +430,11 @@ function _detalhes:LoadConfig()
--custom
_detalhes.custom = _detalhes_global.custom
if (_detalhes_global.custom.__index) then
C_Timer.After(5, function() print("|cFFFFAA00Details!|r error 0x8487, report on discord") end)
end
_detalhes.refresh:r_atributo_custom()
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------