fixed class played time spamming chat

This commit is contained in:
Tercio Jose
2022-12-08 15:41:24 -03:00
parent 0707c310d9
commit 6609580f09
6 changed files with 410 additions and 394 deletions
+6 -6
View File
@@ -13,6 +13,12 @@ function Details:StartMeUp() --I'll never stop!
Details.lastArenaStartTime = GetTime()
Details.lastBattlegroundStartTime = GetTime()
--save the time when the addon finished loading
Details.AddOnStartTime = GetTime()
function Details.GetStartupTime()
return Details.AddOnStartTime or GetTime()
end
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
--row single click, this determines what happen when the user click on a bar
@@ -493,12 +499,6 @@ function Details:StartMeUp() --I'll never stop!
--embed windows on the chat window
Details.chat_embed:CheckChatEmbed(true)
--save the time when the addon finished loading
Details.AddOnStartTime = GetTime()
function Details.GetStartupTime()
return Details.AddOnStartTime or GetTime()
end
if (Details.player_details_window.skin ~= "ElvUI") then
local setDefaultSkinOnPlayerBreakdownWindow = function()
Details:ApplyPDWSkin("ElvUI")