From 55fc88acdcaaa705cca5af9650e798abc58649d1 Mon Sep 17 00:00:00 2001 From: Parnic Date: Wed, 25 Mar 2015 23:24:27 -0500 Subject: [PATCH] Fixed a bug causing buff/debuff watchers to not display for (de)buffs that didn't stack. --- modules/CustomBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CustomBar.lua b/modules/CustomBar.lua index 3da9d02..a118206 100644 --- a/modules/CustomBar.lua +++ b/modules/CustomBar.lua @@ -773,7 +773,7 @@ function IceCustomBar.prototype:UpdateCustomBar(unit, fromUpdate) self.auraBuffCount = self.auraBuffCount or 0 - if self.auraEndTime ~= nil and (self.auraEndTime == 0 or self.auraEndTime >= now) and (not self.moduleSettings.minCount or self.auraBuffCount > self.moduleSettings.minCount) then + if self.auraEndTime ~= nil and (self.auraEndTime == 0 or self.auraEndTime >= now) and (not self.moduleSettings.minCount or self.auraBuffCount >= self.moduleSettings.minCount) then if not self:ShouldAlwaysSubscribe() and not fromUpdate and not IceHUD.IceCore:IsUpdateSubscribed(self) then if not self.UpdateCustomBarFunc then self.UpdateCustomBarFunc = function() self:UpdateCustomBar(self.unit, true) end