diff --git a/Omen.lua b/Omen.lua index eca0163..117cacc 100644 --- a/Omen.lua +++ b/Omen.lua @@ -1646,7 +1646,7 @@ function Omen:UpdateBarsReal() if not t.DisableWhileTanking or not (myClass == "WARRIOR" and GetBonusBarOffset() == 2 or myClass == "DRUID" and GetBonusBarOffset() == 3 or myClass == "PALADIN" and UnitAura("player", GetSpellInfo(25780)) or - myClass == "DEATHKNIGHT" and GetShapeshiftFormInfo(GetShapeshiftForm()) == "Interface\\Icons\\Spell_Deathknight_FrostPresence") then + myClass == "DEATHKNIGHT" and GetShapeshiftForm() ~= 0 and GetShapeshiftFormInfo(GetShapeshiftForm()) == "Interface\\Icons\\Spell_Deathknight_FrostPresence") then self:Warn(t.Sound, t.Flash, t.Shake, t.Message and L["Passed %s%% of %s's threat!"]:format(t.Threshold, guidNameLookup[lastWarn.tankGUID])) end end