Quantcast

Fixed 1 more nil error! Probably still plenty to catch. Please let me know.

git [12-22-13 - 18:37]
Fixed 1 more nil error! Probably still plenty to catch. Please let me know.
Filename
KibsItemLevel.lua
KibsItemLevel.toc
diff --git a/KibsItemLevel.lua b/KibsItemLevel.lua
index d92a258..11a4e63 100644
--- a/KibsItemLevel.lua
+++ b/KibsItemLevel.lua
@@ -219,7 +219,8 @@ function findItemInfo(who)
 			local enchantInfo;
 			if (itemlink) then
 				local upgrade, max, delta = ItemUpgradeInfo:GetItemUpgradeInfo(itemlink)
-				local ilvl = ItemUpgradeInfo:GetUpgradedItemLevel(itemlink)
+				local ilvl = 0;
+				ilvl = ItemUpgradeInfo:GetUpgradedItemLevel(itemlink)
 				if (upgrade and KibsItemLevelConfig.upgrades) then
 					ActiveFontStrings[i]:SetText(ilvl .." ("..upgrade.."/"..max..")")
 				else
diff --git a/KibsItemLevel.toc b/KibsItemLevel.toc
index 3b0c8d1..104eeb8 100644
--- a/KibsItemLevel.toc
+++ b/KibsItemLevel.toc
@@ -1,5 +1,5 @@
 ## Interface: 50400
-## Version: 0.1.2
+## Version: 0.1.5
 ## Title: KibsItemLevel
 ## Author: Kibs
 ## SavedVariables: KibsItemLevelConfig