Hekili Priority Helper

Hekili Priority Helper

44M Downloads

[BUG] v9.2.0-1.0.0-alpha4 Heart of Azeroth Error for Characters Without Item

lsuarez5280 opened this issue ยท 1 comments

commented

Before You Begin

  • I confirm that I have downloaded the latest version of the addon.
  • I am not playing on a private server.
  • I checked for an existing, open ticket for this issue and was not able to find one.
  • I edited the title of this bug report (above) so that it describes the issue I am reporting.

Describe the Issue

A character which never received the Heart of Azeroth is receiving errors during UI loading in v9.2.0-1.0.0-alpha4:

Message: Interface\AddOns\Hekili\BfA\AzeritePowers.lua:3066: attempt to index local 'heart' (a nil value)
Time: Mon Feb 21 10:24:06 2022
Count: 1
Stack: Interface\AddOns\Hekili\BfA\AzeritePowers.lua:3066: attempt to index local 'heart' (a nil value)
[string "@Interface\AddOns\Hekili\BfA\AzeritePowers.lua"]:3066: in function `reset'
[string "@Interface\AddOns\Hekili\Events.lua"]:659: in function `updateGear'
[string "@Interface\AddOns\Hekili\Events.lua"]:314: in function `handler'
[string "@Interface\AddOns\Hekili\Events.lua"]:57: in function <Interface\AddOns\Hekili\Events.lua:51>
Message: Interface\AddOns\Hekili\BfA\AzeritePowers.lua:3066: attempt to index local 'heart' (a nil value)
Time: Mon Feb 21 10:24:07 2022
Count: 1
Stack: Interface\AddOns\Hekili\BfA\AzeritePowers.lua:3066: attempt to index local 'heart' (a nil value)
[string "@Interface\AddOns\Hekili\BfA\AzeritePowers.lua"]:3066: in function `reset'
[string "@Interface\AddOns\Hekili\Events.lua"]:659: in function `updateGear'
[string "@Interface\AddOns\Hekili\Events.lua"]:871: in function `handler'
[string "@Interface\AddOns\Hekili\Events.lua"]:71: in function <Interface\AddOns\Hekili\Events.lua:62>
Message: Interface\AddOns\Hekili\BfA\AzeritePowers.lua:3066: attempt to index local 'heart' (a nil value)
Time: Mon Feb 21 10:24:07 2022
Count: 1
Stack: Interface\AddOns\Hekili\BfA\AzeritePowers.lua:3066: attempt to index local 'heart' (a nil value)
[string "@Interface\AddOns\Hekili\BfA\AzeritePowers.lua"]:3066: in function `reset'
[string "@Interface\AddOns\Hekili\Events.lua"]:659: in function <Interface\AddOns\Hekili\Events.lua:644>

How to Reproduce

  • Log into a character that does not have the Heart of Azeroth either in bags or bank.
  • Observe LUA error.

Player Information (Link)

https://pastebin.com/Daz6Q4zE

Error Messages (Link)

https://pastebin.com/5MW7VcBn

Additional Information

No response

Contact Information

Antix#1279

commented

Thanks, resolved in alpha5.