diff --git a/api/api.lua b/api/api.lua index 217d8c32..3fa341c4 100644 --- a/api/api.lua +++ b/api/api.lua @@ -314,7 +314,7 @@ function pfUI.api.FindItem(item) if itemLink then local _, _, parse = strfind(itemLink, "(%d+):") local query = GetItemInfo(parse) - if query and query ~= "" and query == item then + if query and query ~= "" and string.lower(query) == string.lower(item) then return bag, slot end end