Fix first bank bag, remove IsOpen check

This commit is contained in:
Robin Hüskes 2022-11-21 03:38:57 +01:00
parent 16744776d1
commit 7978fbae92
1 changed files with 2 additions and 2 deletions

View File

@ -118,9 +118,9 @@ local function scanGuildBank(tab)
return count==0 and nil or itemlist
end
function events:GUILDBANKBAGSLOTS_CHANGED()
if(not child.checkGID() or not GuildBankIsOpen) then return end
if(not child.checkGID()) then return end
local tab = GetCurrentGuildBankTab()
if(tab > 0) then
if(tab >= 0) then
local guildID = child.getGID()
if(guildID) then
local list = scanGuildBank(tab)