Fix first bank bag, remove IsOpen check
This commit is contained in:
parent
16744776d1
commit
7978fbae92
|
@ -118,9 +118,9 @@ local function scanGuildBank(tab)
|
||||||
return count==0 and nil or itemlist
|
return count==0 and nil or itemlist
|
||||||
end
|
end
|
||||||
function events:GUILDBANKBAGSLOTS_CHANGED()
|
function events:GUILDBANKBAGSLOTS_CHANGED()
|
||||||
if(not child.checkGID() or not GuildBankIsOpen) then return end
|
if(not child.checkGID()) then return end
|
||||||
local tab = GetCurrentGuildBankTab()
|
local tab = GetCurrentGuildBankTab()
|
||||||
if(tab > 0) then
|
if(tab >= 0) then
|
||||||
local guildID = child.getGID()
|
local guildID = child.getGID()
|
||||||
if(guildID) then
|
if(guildID) then
|
||||||
local list = scanGuildBank(tab)
|
local list = scanGuildBank(tab)
|
||||||
|
|
Loading…
Reference in New Issue