Skip to content

Commit

Permalink
Fixed a bug with bank refresh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cidan committed Dec 3, 2023
1 parent ebcb8d2 commit 6eb5f5b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions data/items.lua
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ function items:RefreshReagentBank()
-- Loop through all the bags and schedule each item for a refresh.
for i in pairs(const.REAGENTBANK_BAGS) do
self.itemsByBagAndSlot[i] = self.itemsByBagAndSlot[i] or {}
self.dirtyBankItems[i] = self.dirtyBankItems[i] or {}
self.previousItemGUID[i] = self.previousItemGUID[i] or {}
self:RefreshBag(i, true)
end
Expand All @@ -87,7 +86,6 @@ function items:RefreshBank()
-- Loop through all the bags and schedule each item for a refresh.
for i in pairs(const.BANK_BAGS) do
self.itemsByBagAndSlot[i] = self.itemsByBagAndSlot[i] or {}
self.dirtyBankItems[i] = self.dirtyBankItems[i] or {}
self.previousItemGUID[i] = self.previousItemGUID[i] or {}
self:RefreshBag(i, true)
end
Expand All @@ -109,7 +107,6 @@ function items:RefreshBackpack()
-- Loop through all the bags and schedule each item for a refresh.
for i in pairs(const.BACKPACK_BAGS) do
self.itemsByBagAndSlot[i] = self.itemsByBagAndSlot[i] or {}
--self.dirtyItems[i] = self.dirtyItems[i] or {}
self.previousItemGUID[i] = self.previousItemGUID[i] or {}
self:RefreshBag(i, false)
end
Expand Down

0 comments on commit 6eb5f5b

Please sign in to comment.