@@ -93,7 +93,7 @@ function SyndicatorBagCacheMixin:OnEvent(eventName, ...)
9393 self .pending .bags [bagID ] = true
9494 elseif bankBags [bagID ] and self .bankOpen then
9595 self .pending .bank [bagID ] = true
96- elseif warbandBags [bagID ] and self .bankOpen and C_PlayerInfo . HasAccountInventoryLock () then
96+ elseif warbandBags [bagID ] and self .bankOpen and C_Bank . FetchBankLockedReason ( Enum . BankType . Account ) == nil then
9797 self .pending .warband [bagID ] = true
9898 end
9999 self :QueueCaching ()
@@ -146,7 +146,7 @@ function SyndicatorBagCacheMixin:OnEvent(eventName, ...)
146146 end
147147
148148 elseif eventName == " PLAYER_ACCOUNT_BANK_TAB_SLOTS_CHANGED" then
149- if (self .bankOpen or time () - self .craftingTime < craftingItemUpdateDelay ) and C_PlayerInfo . HasAccountInventoryLock () then
149+ if (self .bankOpen or time () - self .craftingTime < craftingItemUpdateDelay ) and C_Bank . FetchBankLockedReason ( Enum . BankType . Account ) == nil then
150150 local tab = ...
151151 if tab then
152152 self .pending .warband [Syndicator .Constants .AllWarbandIndexes [tab ]] = true
@@ -159,7 +159,7 @@ function SyndicatorBagCacheMixin:OnEvent(eventName, ...)
159159 for bagID in pairs (bankBags ) do
160160 self .pending .bank [bagID ] = true
161161 end
162- if next (warbandBags ) and C_PlayerInfo . HasAccountInventoryLock () then
162+ if next (warbandBags ) and C_Bank . FetchBankLockedReason ( Enum . BankType . Account ) == nil then
163163 for bagID in pairs (warbandBags ) do
164164 self .pending .warband [bagID ] = true
165165 end
@@ -249,7 +249,7 @@ function SyndicatorBagCacheMixin:ScanBankTabs()
249249 self .pending .containerBags .bank = true
250250 end
251251
252- if not C_PlayerInfo . HasAccountInventoryLock () then
252+ if C_Bank . FetchBankLockedReason ( Enum . BankType . Account ) ~= nil then
253253 return
254254 end
255255
0 commit comments