From 3794be028a1005ae36c1929803faec1ac4976973 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Tue, 7 Feb 2023 05:45:45 -0600 Subject: [PATCH] Some logoff error checks --- core/parser.lua | 2 +- functions/loaddata.lua | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/core/parser.lua b/core/parser.lua index 9f1bf964..981657fc 100755 --- a/core/parser.lua +++ b/core/parser.lua @@ -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) diff --git a/functions/loaddata.lua b/functions/loaddata.lua index 69328229..b93eee57 100644 --- a/functions/loaddata.lua +++ b/functions/loaddata.lua @@ -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 -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------