Fix bank ignoring additional bags

This commit is contained in:
rilgamon 2021-03-22 22:30:13 +01:00
parent 211b44b0eb
commit d6c1e881c2
1 changed files with 2 additions and 2 deletions

View File

@ -49,9 +49,9 @@ local function scanAllBankBags(delayed)
modul['db'][playerID] = modul['db'][playerID] or {}
local tab = modul['db'][playerID]
for bag=5,GetNumBankSlots()+4 do
local btab = tab[bag]
tab[bag] = tab[bag] or {}
if(BankIsOpen) then
btab = addon:scanBag(bag) -- loop all bought bankbags
tab[bag] = addon:scanBag(bag) -- loop all bought bankbags
else
guess(tab)
end