From 9276d3e0216725c15306f63dd290103d8f5f2350 Mon Sep 17 00:00:00 2001 From: Logan Payton Date: Tue, 20 Feb 2018 10:12:49 -0500 Subject: [PATCH] GetItemInfo was returning nil, not empty string --- !Compatibility/api/wowAPI.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/!Compatibility/api/wowAPI.lua b/!Compatibility/api/wowAPI.lua index 40173d4..ffda18b 100644 --- a/!Compatibility/api/wowAPI.lua +++ b/!Compatibility/api/wowAPI.lua @@ -386,7 +386,7 @@ function GetItemInfoByName(itemName) for itemID = 1, LAST_ITEM_ID do name = GetItemInfo(itemID) - if name ~= "" then + if name ~= "" and name ~= nil then itemInfoDB[name] = itemID if name == itemName then