BagSync

BagSync

3M Downloads

Lua Error on Classic upon PLAYER_ENTERING_WORLD

Sakatard opened this issue ยท 5 comments

commented

56x Interface\AddOns\BagSync\wireframe\scanner.lua:522: attempt to call field 'GetCurrencyListSize' (a nil value)
[string "@interface\AddOns\BagSync\wireframe\scanner.lua"]:522: in function SaveCurrency' [string "@Interface\AddOns\BagSync\wireframe\scanner.lua"]:97: in function StartupScans'
[string "@interface\AddOns\BagSync\wireframe\events.lua"]:145: in function <Interface\AddOns\BagSync\wireframe\events.lua:74>
[string "=[C]"]: ?
[string "@interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:66: in function <...UI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:61>
[string "@interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:523: in function EnableAddon' [string "@Interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:536: in function EnableAddon'
[string "@interface\AddOns\ElvUI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:626: in function <...UI_Libraries\Core\Ace3\AceAddon-3.0\AceAddon-3.0.lua:611>

commented

Yep this bug has been fixed :) Thanks for reporting it though!

commented

disregard, just saw your latest commit

commented

Sure thing if you find any other issues, feel free to put up a ticket. :) Happy Holidays.

commented

I enhanced the code a bit to clean it up a bit and do extra checks. Thanks for pointing out this bug, I wasn't even aware of it as none of my testing characters on WOTLK or Classic have currency XD. Updated version works fine on Classic and WOTLK from my tests of v18.5 of BagSync.

commented

awesome thanks for the fast reply and quick fix :)