Lua Error on Classic upon PLAYER_ENTERING_WORLD
Sakatard opened this issue ยท 5 comments
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>
Sure thing if you find any other issues, feel free to put up a ticket. :) Happy Holidays.
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.