Commit 23b47ef7 authored by Azilroka's avatar Azilroka

Fix faction:icon tag

parent d4b2a789
......@@ -137,8 +137,10 @@ ElvUF.Tags.Events['faction:icon'] = 'UNIT_FACTION'
ElvUF.Tags.Methods['faction:icon'] = function(unit)
local factionGroup = UnitFactionGroup(unit)
if (factionGroup ~= 'Neutral') then
if (factionGroup == 'Horde' or factionGroup == 'Alliance') then
return CreateTextureMarkup("Interface\\FriendsFrame\\PlusManz-"..factionGroup, 16, 16, 16, 16, 0, 1, 0, 1, 0, 0)
else
return nil
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment