From d269f6cce869128175d67b573d406a84d0da79fb Mon Sep 17 00:00:00 2001 From: Darthpred Date: Fri, 8 May 2015 02:59:35 +0400 Subject: [PATCH] God dammit --- ElvUI_SLE/modules/auras.lua | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ElvUI_SLE/modules/auras.lua b/ElvUI_SLE/modules/auras.lua index e9e2f9b..b0426b3 100644 --- a/ElvUI_SLE/modules/auras.lua +++ b/ElvUI_SLE/modules/auras.lua @@ -55,9 +55,8 @@ AT.Buffs = { GetSpell(172967), --Hunt }, } - AT.Spells = { - ["DEATHKNIGH"] = {[3] = GetSpell(57330),}, + ["DEATHKNIGHT"] = {[3] = GetSpell(57330),}, ["DRUID"] = {[1] = GetSpell(1126),[9] = GetSpell(1126),}, ["HUNTER"] = { [1] = GetSpell(160206), @@ -173,7 +172,7 @@ function AT:BuildCasts(event, unit) local button = _G["ElvUIConsolidatedBuff"..i] if AT.Spells[E.myclass] then local name = AT.Spells[E.myclass][i] - button:SetAttribute("spell1", name) + if name then button:SetAttribute("spell1", name) end end end AT:UpdateAuraStandings(nil, "player") -- 1.7.9.5