Merge pull request #1 from Otari98/master

fix inbox tooltip
This commit is contained in:
OldManAlpha
2025-09-24 20:56:57 -07:00
committed by GitHub
+1 -1
View File
@@ -155,7 +155,7 @@ function game_tooltip_hooks:SetInboxItem(index)
local name, _, quantity = GetInboxItem(index)
local id = name and info.item_id(name)
if id then
local _, itemstring, quality = (id)
local _, itemstring, quality = GetItemInfo(id)
if quality and itemstring then
local hex = aux.select(4, GetItemQualityColor(tonumber(quality)))
local link = hex .. '|H' .. itemstring .. '|h[' .. name .. ']|h' .. FONT_COLOR_CODE_CLOSE