Clicked

Clicked

294k Downloads

Bug when not having a trinket equipped

vincentullmann opened this issue ยท 0 comments

commented

Describe the bug

Hey there,

I have a generic /use 13 type of keybind for my triket slot.
However, whenever I do legacy content / achiements and unquip all my gear the keybind causes an error which breaks the entire addon.

Keybind:
image

Clicked Version

1.14.4

World of Warcraft Flavor

Dragonflight

Tried with only Clicked enabled

  • Yes
  • No

Lua Errors

Message: Interface/AddOns/Clicked/Core/Utils.lua:544: bad argument #1, expected string or number but got nil
Time: Sat Feb 17 12:35:34 2024
Count: 3
Stack: Interface/AddOns/Clicked/Core/Utils.lua:544: bad argument #1, expected string or number but got nil
[string "=[C]"]: ?
[string "=[C]"]: in function assert' [string "@Interface/AddOns/Clicked/Core/Utils.lua"]:544: in function GetItemInfo'
[string "@Interface/AddOns/Clicked/Core/Utils.lua"]:413: in function GetBindingValue' [string "@Interface/AddOns/Clicked/Core/BindingProcessor.lua"]:216: in function <Interface/AddOns/Clicked/Core/BindingProcessor.lua:213> [string "@Interface/AddOns/Clicked/Core/BindingProcessor.lua"]:297: in function <Interface/AddOns/Clicked/Core/BindingProcessor.lua:292> [string "@Interface/AddOns/Clicked/Core/BindingProcessor.lua"]:1604: in function GetMacroForBindings'
[string "@Interface/AddOns/Clicked/Core/BindingProcessor.lua"]:411: in function Process' [string "@Interface/AddOns/Clicked/Core/BindingProcessor.lua"]:435: in function <Interface/AddOns/Clicked/Core/BindingProcessor.lua:389> [string "@Interface/AddOns/Clicked/Core/BindingProcessor.lua"]:649: in function ProcessActiveBindings'
[string "@Interface/AddOns/Clicked/Core/Clicked.lua"]:107: in function <Interface/AddOns/Clicked/Core/Clicked.lua:100>
[string "=[C]"]: ?
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:19: in function <...ings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Interface/AddOns/AllTheThings/lib/CallbackHandler-1.0/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@Interface/AddOns/Clicked/Libs/AceEvent-3.0/AceEvent-3.0.lua"]:120: in function <...ce/AddOns/Clicked/Libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals: (*temporary) = defined =[C]:-1

Reproduction Steps

  • new keybind
  • target item: 13
  • uneqip the upper trinket slot

Last Working Version

No response

Screenshots

No response

Debug Output

No response