From 23d64a22ae6d1e8d0084909b915b1afd57300830 Mon Sep 17 00:00:00 2001 From: Michael Tindal Date: Sun, 16 Nov 2014 23:21:55 -0800 Subject: [PATCH] In WoD we can't trust the item id to give us the right rarity. --- ElvUI_SLE/skins/blizzard/character.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElvUI_SLE/skins/blizzard/character.lua b/ElvUI_SLE/skins/blizzard/character.lua index 5fb9b3a..79df0d3 100644 --- a/ElvUI_SLE/skins/blizzard/character.lua +++ b/ElvUI_SLE/skins/blizzard/character.lua @@ -34,7 +34,7 @@ local function LoadSkin() local itemId = GetInventoryItemID("player", slotId) if itemId then - local _, _, rarity, _, _, _, _, _, _, _, _ = GetItemInfo(itemId) + local rarity = GetInventoryItemQuality("player", slotId); if rarity and rarity > 1 then target:SetBackdropBorderColor(GetItemQualityColor(rarity)) else -- 1.7.9.5