Merge pull request #452 from Flamanis/Wipe-Custom

Some logoff error checks
This commit is contained in:
Tercio Jose
2023-02-09 09:25:13 -03:00
committed by GitHub
2 changed files with 5 additions and 1 deletions
+1 -1
View File
@@ -5816,7 +5816,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 and _detalhes_global.custom[1] and details_global.custom[1].__index and _details_global.custom[1].__index._InstanceLastCombatShown) then
C_Timer.After(5, function() print("|cFFFFAA00Details!|r error 0x8487, report on discord") end)
end
_detalhes.refresh:r_atributo_custom()
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------