From 6eb5f5b1bafe492bbce8ba1ef4a5a35dd57c418f Mon Sep 17 00:00:00 2001 From: Antonio Lobato Date: Sun, 3 Dec 2023 13:40:42 -0800 Subject: [PATCH] Fixed a bug with bank refresh. --- data/items.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/data/items.lua b/data/items.lua index 82718971..bd6ed1e0 100644 --- a/data/items.lua +++ b/data/items.lua @@ -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 @@ -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 @@ -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