Bagnon

Bagnon

122M Downloads

10.0.2 pre patch LUA error with BagBrother

Dmeister406 opened this issue ยท 0 comments

commented

Running Software (issues missing this information will be deleted):

  • Addon version: 10.0.0
  • Server patch: [e.g. Build 8.0.1.27178] 10.0.246658

Have you read the changelog? (please don't waste our time)
Mark if read. Yes

Describe the bug
LUA error generated upon login with addon enabled.

To Reproduce
Steps to reproduce the behaviour:
Log in and view LUA error

Expected behaviour
No LUA errors should be generated.

Screenshots
N/A

Error Logs
68x Interface/AddOns/BagBrother/Code/API.lua:20: attempt to call global 'GetContainerNumSlots' (a nil value)
[string "@Interface/AddOns/BagBrother/Code/API.lua"]:20: in function SaveBag' [string "@Interface/AddOns/BagBrother/Code/Events.lua"]:27: in function ?'
[string "@Interface/AddOns/BagBrother/Code/Startup.lua"]:20: in function <Interface/AddOns/BagBrother/Code/Startup.lua:20>

Locals:
self = BagBrother {
BANKFRAME_OPENED = defined @Interface/AddOns/BagBrother/Code/Events.lua:54
ParseItem = defined @Interface/AddOns/BagBrother/Code/API.lua:47
SetupEvents = defined @Interface/AddOns/BagBrother/Code/Startup.lua:49
VOID_STORAGE_CLOSE = defined @Interface/AddOns/BagBrother/Code/Events.lua:80
PLAYER_INTERACTION_MANAGER_FRAME_HIDE = defined @Interface/AddOns/BagBrother/Code/Events.lua:45
SaveBag = defined @Interface/AddOns/BagBrother/Code/API.lua:19
PLAYER_EQUIPMENT_CHANGED = defined @Interface/AddOns/BagBrother/Code/Events.lua:31
SaveEquip = defined @Interface/AddOns/BagBrother/Code/API.lua:40
GUILDBANKFRAME_OPENED = defined @Interface/AddOns/BagBrother/Code/Events.lua:95
Realm =

{
}
PLAYER_INTERACTION_MANAGER_FRAME_SHOW = defined @Interface/AddOns/BagBrother/Code/Events.lua:39
PLAYER_MONEY = defined @Interface/AddOns/BagBrother/Code/Events.lua:35
BANKFRAME_CLOSED = defined @Interface/AddOns/BagBrother/Code/Events.lua:58
GUILDBANKFRAME_CLOSED = defined @Interface/AddOns/BagBrother/Code/Events.lua:99
VOID_STORAGE_OPEN = defined @Interface/AddOns/BagBrother/Code/Events.lua:76
GUILDBANKBAGSLOTS_CHANGED = defined @Interface/AddOns/BagBrother/Code/Events.lua:107
Player =
{
}
RemoveEvent = defined @Interface/AddOns/BagBrother/Code/Startup.lua:92
StartupCache = defined @Interface/AddOns/BagBrother/Code/Startup.lua:33
0 =
GUILD_ROSTER_UPDATE = defined @Interface/AddOns/BagBrother/Code/Events.lua:103
UpdateData = defined @Interface/AddOns/BagBrother/Code/Startup.lua:72
BAG_UPDATE = defined @Interface/AddOns/BagBrother/Code/Events.lua:25
}
bag = 3
onlyItems = false
saveSize = false
(*temporary) = nil
(*temporary) = 3
(*temporary) = "attempt to call global 'GetContainerNumSlots' (a nil value)"