HealthBarColor - Health Bar Color

HealthBarColor - Health Bar Color

1M Downloads

LUA error when something takes over the player bar

jnxldr opened this issue · 3 comments

commented

Describe the bug
LUA error when something takes over the player bar

To Reproduce
Steps to reproduce the behavior:

  1. Go to The Harbinger quest and take Cracks in the Void and Riftwalker Reports.
  2. Click on Void Rift and become transformed into a Shadowy Apparition
  3. See error and the player health bar being outside the player frame

Expected behavior
No LUA error and the health bar being inside

Have you disabled all other add-ons?
Yes

Screenshots
image

Game Version
11.0

Additional context

1x .../HealthBarColor/Modules/_retail_/BiggerHealthBar.lua:97: attempt to index field 'HealthBarMask' (a nil value)
[string "@HealthBarColor/Modules/_retail_/BiggerHealthBar.lua"]:97: in function `callback'
[string "@HealthBarColor/Utils/HookRegistry.lua"]:73: in function <HealthBarColor/Utils/HookRegistry.lua:71>
[string "=[C]"]: in function `PlayerFrame_ToVehicleArt'
[string "@Blizzard_UnitFrame/PlayerFrame.lua"]:439: in function `PlayerFrame_UpdateArt'
[string "@Blizzard_UnitFrame/PlayerFrame.lua"]:159: in function `OnEvent'
[string "@Blizzard_UnitFrame/UnitFrame.lua"]:1028: in function <Blizzard_UnitFrame/UnitFrame.lua:1026>

Locals:
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0
(*temporary) = 1
(*temporary) = 0
(*temporary) = 1
(*temporary) = "attempt to index field 'HealthBarMask' (a nil value)"
addonTable = <table> {
 powerColors = <table> {
 }
 globalUnitVariables = <table> {
 }
 addon = <table> {
 }
 selectionColors = <table> {
 }
 hooks = <table> {
 }
 debuffColors = <table> {
 }
 reactionColors = <table> {
 }
 classColors = <table> {
 }
 playerClass = "PALADIN"
 texturePaths = <table> {
 }
 isRetail = true
 fontModules = <table> {
 }
}

commented

I will look into it!

commented
commented

Looks fixed!