File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -129,10 +129,11 @@ function SyndicatorBagCacheMixin:OnEvent(eventName, ...)
129129
130130 -- Guessing that these events may be fired when a new warband tab is purchased
131131 elseif eventName == " BANK_TABS_CHANGED" or eventName == " PLAYER_ACCOUNT_BANK_TAB_SLOTS_CHANGED" then
132- if self .bankOpen or time () - self .craftingTime < craftingItemUpdateDelay then
132+ if ( self .bankOpen or time () - self .craftingTime < craftingItemUpdateDelay ) and C_PlayerInfo . HasAccountInventoryLock () then
133133 self :ScanWarbandSlots ()
134- for bagID in pairs (warbandBags ) do
135- self .pending .warband [bagID ] = true
134+ local tab = ...
135+ if tab then
136+ self .pending .warband [Syndicator .Constants .AllWarbandIndexes [tab ]] = true
136137 end
137138 self :QueueCaching ()
138139 end
You can’t perform that action at this time.
0 commit comments