Open bank for the first time, the bank frame is in cached mode.
hshh opened this issue ยท 1 comments
Which software were you running?
- Addon version name: Bagnon 11.0.5
- Client used: WoW Retail 11.0.2
Please describe the bug.
Talk to banker to open bank for the first time, the bank frame is in cached mode.
Please describe how to reproduce it.
- Enter to world, talk to banker to open bank for the first time.
- The bank frame is in cached mode. It cannot get or put item.
- Talk to banker again, bank frame become "at bank" mode.
Possible fix
Preload bank frame at player enter world.
--- a/Interface/AddOns/BagBrother/core/core.lua
+++ b/Interface/AddOns/BagBrother/core/core.lua
@@ -63,6 +63,7 @@ function Addon:OnEnable()
self:RegisterEvent('PLAYER_ENTERING_WORLD', function()
self:CheckForUpdates(ADDON, self.sets, 'interface/addons/bagbrother/art/'..ADDON..'-big')
self.Frames:New('inventory') -- prevent combat block
+ self.Frames:New('bank')
end)
end