mirror of
https://github.com/brues-code/pfUI.git
synced 2026-09-21 23:26:56 +00:00
api: use backported getiteminfo for all versions
This commit is contained in:
@@ -53,3 +53,11 @@ function hooksecurefunc(name, func, append)
|
||||
|
||||
_G[name] = pfUI.hooks[tostring(func)]["function"]
|
||||
end
|
||||
|
||||
do -- GetItemInfo
|
||||
local name, link, rarity, minlevel, itype, isubtype, stack
|
||||
function GetItemInfo(item)
|
||||
name, link, rarity, minlevel, itype, isubtype, stack = _G.GetItemInfo(item)
|
||||
return name, link, rarity, nil, minlevel, itype, isubtype, stack
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user