mirror of
https://github.com/Bluewhale1337/ElvUIModernized.git
synced 2026-07-27 08:24:44 +00:00
GetItemInfo was returning nil, not empty string
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user