From edfe646f67cce2d15253d86198fa1f924d7dcc3f Mon Sep 17 00:00:00 2001 From: James Whitehead II Date: Mon, 9 Apr 2007 20:11:58 +0000 Subject: [PATCH] * Fixed an issue with debuffs, should work correctly now. --- PerfectRaid_Buffs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PerfectRaid_Buffs.lua b/PerfectRaid_Buffs.lua index a10b7fe..1c73ba6 100644 --- a/PerfectRaid_Buffs.lua +++ b/PerfectRaid_Buffs.lua @@ -124,9 +124,9 @@ function Buffs:UNIT_AURA(event, unit) for i=1,40 do local name,rank,texture,count,type = UnitDebuff(unit, i) - if type then name = type end if not name and not type then break end buffcache[name] = (buffcache[name] or 0) + 1 + buffcache[type] = (buffcache[type] or 0) + 1 end for k,v in pairs(work) do work[k] = nil end -- 1.7.9.5