fix: keyring bugs

This commit is contained in:
Salikh Gurgenidze
2025-12-24 23:01:43 +04:00
parent 13fff893a3
commit 601e46c615
4 changed files with 38 additions and 5 deletions
+2 -1
View File
@@ -16,7 +16,8 @@ local function CountCurrentCharacterItems(itemID)
local equippedCount = 0
-- Count current character's bags in real-time
for bagID = 0, 4 do
local bagsToCount = {0, 1, 2, 3, 4, -2}
for _, bagID in ipairs(bagsToCount) do
local numSlots = GetContainerNumSlots(bagID)
for slot = 1, numSlots do
local link = GetContainerItemLink(bagID, slot)