Clicked

Clicked

294k Downloads

Issue with loading bindings on toons with stances but not specialization

Squishes opened this issue · 2 comments

commented

This error happened on a low level rogue that had learned stealth:
x11 Clicked\Core\Utils.lua:238: bad argument #1 to 'unpack' (table expected, got nil)
Stack: [string "=[C]"]: in function 'unpack'
[string "@clicked\Core\Utils.lua"]:238: in function 'GetShapeshiftFormsForSpecId'
[string "@clicked\Core\BindingProcessor.lua"]:810: in function 'validationFunc'
[string "@clicked\Core\BindingProcessor.lua"]:642: in function 'ValidateTriStateLoadOption'
[string "@clicked\Core\BindingProcessor.lua"]:816: in function 'CanBindingLoad'
[string "@clicked\Core\BindingProcessor.lua"]:594: in function 'ReloadActiveBindings'
[string "@clicked\Core\Clicked-0.10.0.lua"]:69: in function <Clicked\Core\Clicked.lua:65>
[string "=[C]"]: ?
[string "@RealUI_Bugs\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...ugs\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@RealUI_Bugs\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function 'Fire'
[string "@bartender4\libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <Bartender4\libs\AceEvent-3.0\AceEvent-3.0.lua:119>
Time: 2020/11/03 20:39:24 Index: 1/1
RealUI Version: 2.2.4
Locals:
None

I was able to fix it by modifying Utils.lua to include the initial IDs for each class listed here: https://wow.gamepedia.com/SpecializationID

I think I made a pull request to add my changes; I've never used Github before, so not sure if I did it correctly.

commented
commented

Fixed in 0.10.1, thanks!