compat: return when no item is given on vanilla

This commit is contained in:
shagu
2020-07-10 16:57:00 +02:00
parent fe8833a5d8
commit 0751ab31cd
+1
View File
@@ -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