mirror of
https://github.com/brues-code/pfUI.git
synced 2026-10-04 20:50:01 +00:00
compat: return when no item is given on vanilla
This commit is contained in:
@@ -57,6 +57,7 @@ end
|
||||
do -- GetItemInfo
|
||||
local name, link, rarity, minlevel, itype, isubtype, stack
|
||||
function GetItemInfo(item)
|
||||
if not item then return end
|
||||
name, link, rarity, minlevel, itype, isubtype, stack = _G.GetItemInfo(item)
|
||||
return name, link, rarity, nil, minlevel, itype, isubtype, stack
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user