From 00744174d6668d12a7ac7394bba036fe96be50a9 Mon Sep 17 00:00:00 2001 From: Britt Yazel Date: Fri, 1 Dec 2023 17:15:54 -0800 Subject: [PATCH] Update ToC for Classic Era --- EnhancedRaidFrames.lua | 4 +++- EnhancedRaidFrames.toc | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/EnhancedRaidFrames.lua b/EnhancedRaidFrames.lua index d97c688..550895f 100644 --- a/EnhancedRaidFrames.lua +++ b/EnhancedRaidFrames.lua @@ -70,7 +70,9 @@ function EnhancedRaidFrames:OnEnable() -- Hook our UpdateStockIndicatorVisibility function onto internal functions. -- We use SecureHook() because the default function is protected, and we want to make sure our code runs after the default code. self:SecureHook("CompactUnitFrame_UpdateAuras", function(frame) self:UpdateStockIndicatorVisibility(frame) end) - self:SecureHook("CompactUnitFrame_UpdatePrivateAuras", function(frame) self:UpdateStockIndicatorVisibility(frame) end) + if not self.isWoWClassicEra and not self.isWoWClassic then + self:SecureHook("CompactUnitFrame_UpdatePrivateAuras", function(frame) self:UpdateStockIndicatorVisibility(frame) end) + end -- Hook our UpdateInRange function to the default CompactUnitFrame_UpdateInRange function. self:SecureHook("CompactUnitFrame_UpdateInRange", function(frame) self:UpdateInRange(frame) end) diff --git a/EnhancedRaidFrames.toc b/EnhancedRaidFrames.toc index ebbda14..0a61797 100644 --- a/EnhancedRaidFrames.toc +++ b/EnhancedRaidFrames.toc @@ -1,5 +1,5 @@ ## Interface: 100200 -## Interface-Classic: 11404 +## Interface-Classic: 11500 ## Interface-Wrath: 30403 ## Title: Enhanced Raid Frames ## Notes: Enhances the Blizzard raid frames with configurable Buff/Debuff indicators