From c016b0ccc0184d28fdbd3944fcf18dd8f72d81b5 Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 28 Aug 2019 08:56:31 -0500 Subject: [PATCH] Fixed PLAYER_PET_CHANGED event on stack counters in Classic --- IceStackCounter.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IceStackCounter.lua b/IceStackCounter.lua index 6e18f00..3f71813 100644 --- a/IceStackCounter.lua +++ b/IceStackCounter.lua @@ -128,7 +128,7 @@ end function IceStackCounter_Enable(frame) frame:RegisterEvent("UNIT_AURA", "UpdateCustomCount") frame:RegisterEvent("UNIT_PET", "UpdateCustomCount") - if IceHUD.WowVer < 80000 then + if IceHUD.WowVer < 80000 and not IceHUD.WowClassic then frame:RegisterEvent("PLAYER_PET_CHANGED", "UpdateCustomCount") end if FocusUnit then