Clarify Vendor Values cache fallback

This commit is contained in:
Dusk-92
2026-09-03 16:46:45 +02:00
parent 382723fb5f
commit bcf1fbdbd1
+3 -3
View File
@@ -3303,9 +3303,9 @@ ShaguTweaks.SellValueDB = data
local function GetVendorPrice(id)
if not id then return end
-- ClassicAPI is authoritative when the item is cached. Its getter warms an
-- uncached item in the background, so a later GET_ITEM_INFO_RECEIVED can
-- refresh the currently visible tooltip without any permanent polling.
-- ClassicAPI is authoritative when the item is cached. Its getter also warms
-- an uncached item in the background; the generated database below keeps the
-- first tooltip immediate while that cache fill completes.
local price = API and API.GetItemSellPriceByID
and API.GetItemSellPriceByID(id)
if price ~= nil then