mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-27 18:06:02 +00:00
api: case insensitive search for item names
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user