Fixed another nil-error and a folder typo. It should now be pushed correctly to Curse Client.
Kibsgaard [12-24-13 - 23:15]
Fixed another nil-error and a folder typo. It should now be pushed correctly to Curse Client.
Signed-off-by: Kibsgaard <http://www.curseforge.com/profiles/Kibsgaard/>
diff --git a/KibsItemLevel.lua b/KibsItemLevel.lua
index f123ed8..c1e8bd8 100644
--- a/KibsItemLevel.lua
+++ b/KibsItemLevel.lua
@@ -195,6 +195,9 @@ function cleanUp()
end
function findItemInfo(who)
+ if not (who) then
+ return
+ end
local tilvl = 0;
local numItems = 0;
if (who == "player") then
diff --git a/KibsItemLevel.toc b/KibsItemLevel.toc
index a778c8e..274ac4c 100644
--- a/KibsItemLevel.toc
+++ b/KibsItemLevel.toc
@@ -1,5 +1,5 @@
## Interface: 50400
-## Version: 0.1.6
+## Version: 0.1.9
## Title: KibsItemLevel
## Author: Kibs
## SavedVariables: KibsItemLevelConfig