From f0dce6acc5bbae07ae59fc01bede7081512edcf4 Mon Sep 17 00:00:00 2001 From: Flamanis Date: Tue, 7 Feb 2023 06:49:25 -0600 Subject: [PATCH] Check correct value --- functions/loaddata.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/loaddata.lua b/functions/loaddata.lua index b93eee57..18df8ae9 100644 --- a/functions/loaddata.lua +++ b/functions/loaddata.lua @@ -430,7 +430,7 @@ function _detalhes:LoadConfig() --custom _detalhes.custom = _detalhes_global.custom - if (_detalhes_global.custom.__index) then + 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()