Fix issues with sightless eye vendor

Why the fuck anyone would want to come down here is beyond me.

Fixes #46
This commit is contained in:
tekkub ʕ ´ᴥ` ʔ 2016-10-24 03:05:51 -06:00
parent 2ce6a15b6e
commit df49e6d37e
1 changed files with 2 additions and 1 deletions

View File

@ -10,6 +10,7 @@ local GARRISON_ICONS = {[1001489] = true, [1001490] = true, [1001491] = true}
local function Knowable(link)
local id = ns.ids[link]
if not id then return false end
if C_Heirloom.IsItemHeirloom(id) then return true end
local _, _, _, _, _, class, _, _, _, texture = GetItemInfo(link)
@ -84,7 +85,7 @@ function ns.GetRowTextColor(index)
if Knowable(link) and ns.knowns[link] then return QUALITY_COLORS[0] end
local _, _, quality = GetItemInfo(link)
return QUALITY_COLORS[quality]
return QUALITY_COLORS[quality or 1]
end