fix: quality item colros for bank

This commit is contained in:
Salikh Gurgenidze
2026-01-24 04:52:43 +04:00
parent c23c3ed7ad
commit 9a63eae16c
3 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -204,7 +204,7 @@ function BagFrame:UpdateSingleSlot(bagID, slotID)
local itemData = nil
if itemLink then
local texture, itemCount, locked = GetContainerItemInfo(bagID, slotID)
local texture, itemCount, locked, slotQuality = GetContainerItemInfo(bagID, slotID)
local itemID = nil
local _, _, idStr = string.find(itemLink, "item:(%d+)")
if idStr then itemID = tonumber(idStr) end
@@ -215,7 +215,7 @@ function BagFrame:UpdateSingleSlot(bagID, slotID)
link = itemLink,
texture = texture,
count = itemCount or 1,
quality = quality or 0,
quality = quality or slotQuality or 0,
name = name,
iLevel = iLevel,
type = itemType,