Fixed a nil bug in the guild bank scanning. IsTabViewable is no longer a usable function.
Xruptor [03-01-10 - 19:54]
Fixed a nil bug in the guild bank scanning. IsTabViewable is no longer a usable function.
diff --git a/BagSync.lua b/BagSync.lua
index 0804549..d85e19c 100644
--- a/BagSync.lua
+++ b/BagSync.lua
@@ -198,11 +198,7 @@ function BagSync:GUILDBANKFRAME_OPENED()
local numTabs = GetNumGuildBankTabs()
for tab = 1, numTabs do
- if IsTabViewable(tab) then
- QueryGuildBankTab(tab)
- --query the tab information from the server (item list)
- --it fires off GUILDBANKBAGSLOTS_CHANGED when item data is available
- end
+ QueryGuildBankTab(tab)
end
end