diff --git a/functions/coach.lua b/functions/coach.lua index cbb5349f..7958bc18 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 dc45ffc2..fa14527b 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