From 65fe2434d8a04356cdaf6724cfa8f8fe48521411 Mon Sep 17 00:00:00 2001 From: Parnic Date: Sun, 19 Apr 2009 06:06:40 +0000 Subject: [PATCH] - fixed display of buffs on the player not cast by the player for custom bars --- modules/CustomBar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/CustomBar.lua b/modules/CustomBar.lua index 57cfde6..8e6ecc1 100644 --- a/modules/CustomBar.lua +++ b/modules/CustomBar.lua @@ -226,7 +226,7 @@ function IceCustomBar.prototype:GetAuraDuration(unitName, buffName) local i = 1 local remaining local isBuff = self.moduleSettings.buffOrDebuff == "buff" and true or false - local buffFilter = (isBuff and "HELPFUL" or "HARMFUL") .. (unitName == "player" and "|PLAYER" or "") + local buffFilter = (isBuff and "HELPFUL" or "HARMFUL") .. (self.moduleSettings.trackOnlyMine and "|PLAYER" or "") local buff, rank, texture, count, type, duration, endTime, unitCaster = UnitAura(unitName, i, buffFilter) local isMine = unitCaster == "player"