From df49e6d37e7a3903404a034402622c69f1f1488e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?tekkub=20=CA=95=20=C2=B4=E1=B4=A5=60=20=CA=94?= Date: Mon, 24 Oct 2016 03:05:51 -0600 Subject: [PATCH] Fix issues with sightless eye vendor Why the fuck anyone would want to come down here is beyond me. Fixes #46 --- frames/RowShader.lua | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frames/RowShader.lua b/frames/RowShader.lua index 514bfe4..96f7b58 100644 --- a/frames/RowShader.lua +++ b/frames/RowShader.lua @@ -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