small fix
kibsgaard [11-19-14 - 21:12]
small fix
Signed-off-by: kibsgaard <kibsgaard@curseforge.com>
diff --git a/KibsItemLevel.lua b/KibsItemLevel.lua
index fbc6e15..b373fc6 100644
--- a/KibsItemLevel.lua
+++ b/KibsItemLevel.lua
@@ -381,7 +381,7 @@ function findItemInfo(who)
ActiveFontStrings[i]:SetText(ilvl)
end
- if(KibsItemLevelConfig.Color) then
+ if(KibsItemLevelConfig.Color and color and ActiveFontStrings[i]:GetText()) then
ActiveFontStrings[i]:SetText("|c" .. color .. ActiveFontStrings[i]:GetText());
end