HeroRotation

HeroRotation

6M Downloads

[Bug]: Ret Pally: Lua Error

wheatbread opened this issue ยท 1 comments

commented

What version of HeroRotation are you using?

11.1.0.28

What version of HeroLib are you using?

11.1.0.10

What version of HeroDBC are you using?

11.1.0.04

What is the issue?

Got the following error upon loading in, even when I'm not on pally:

23x bad argument #1 to '?' (Usage: local itemLink = C_Item.GetItemLink(itemLocation))
[string "=[C]"]: ?
[string "@HeroLib/Class/Item.lua"]:72: in function Level' [string "@HeroLib/Class/Unit/Player/Equipment.lua"]:263: in function GetTrinketData'
[string "@HeroRotation_Paladin/Retribution.lua"]:76: in function <HeroRotation_Paladin/Retribution.lua:75>
[string "@HeroRotation_Paladin/Retribution.lua"]:82: in function <HeroRotation_Paladin/Retribution.lua:81>

Locals:
(*temporary) = "bad argument #1 to '?' (Usage: local itemLink = C_Item.GetItemLink(itemLocation))"

Icon Behavior

None

commented

I'm looking at the code and fail to see how this is possible. Are you running a character without trinkets?