God dammit
Darthpred [05-07-15 - 22:59]
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")