From 4d1747f8a8a1d490fdce4488d431b94840447ca6 Mon Sep 17 00:00:00 2001 From: Tercio Jose Date: Thu, 17 Dec 2020 18:49:02 -0300 Subject: [PATCH] fix --- functions/coach.lua | 1 - startup.lua | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/coach.lua b/functions/coach.lua index cbb5349f8..7958bc18a 100644 --- a/functions/coach.lua +++ b/functions/coach.lua @@ -454,4 +454,3 @@ function Details.Coach.Client.SendMyDeath(_, _, _, _, _, _, playerGUID, _, _, de end end end -Details:InstallHook("HOOK_DEATH", Details.Coach.Client.SendMyDeath) \ No newline at end of file diff --git a/startup.lua b/startup.lua index dc45ffc2d..fa14527b1 100644 --- a/startup.lua +++ b/startup.lua @@ -494,6 +494,8 @@ function Details:StartMeUp() --I'll never stop! print ("|CFFFFFF00[Details!]: you're using Details! for RETAIL on Classic WOW, please get the classic version (Details! Damage Meter Classic WoW), if you need help see our Discord (/details discord).") end + Details:InstallHook("HOOK_DEATH", Details.Coach.Client.SendMyDeath) + if (math.random(10) == 1) then Details:Msg("use '/details me' macro to open the player breakdown for you!") end