tukui-org / Tukui

Tukui - Live branch is Dragonflight, Wrath and Classic Era
https://tukui.org
49 stars 29 forks source link

HolyPowerBar not properly loaded on first login with character #181

Closed Coruin closed 3 months ago

Coruin commented 3 months ago

Whenever I login in with my paladin, I only get 3 bars for the Holy Power. Using a spell causes the quoted error message. If I reload the interface, the issue is gone.

Message: ...Ons/Tukui/Libs/oUF_HolyPowerBar/oUF_HolyPowerBar.lua:24: attempt to index field '?' (a nil value)
Time: Sun Aug 25 13:17:04 2024
Count: 2
Stack: ...Ons/Tukui/Libs/oUF_HolyPowerBar/oUF_HolyPowerBar.lua:24: attempt to index field '?' (a nil value)
[string "@Interface/AddOns/Tukui/Libs/oUF_HolyPowerBar/oUF_HolyPowerBar.lua"]:24: in function <...Ons/Tukui/Libs/oUF_HolyPowerBar/oUF_HolyPowerBar.lua:9>
[string "=(tail call)"]: ?
[string "=(tail call)"]: ?

Locals: self = TukuiPlayerFrame {
 Shadow = Frame {
 }
 unitEvents = <table> {
 }
 UNIT_MAXHEALTH = <table> {
 }
 PowerPrediction = <table> {
 }
 PLAYER_REGEN_DISABLED = <table> {
 }
 MoverName = "Player"
 UNIT_CONNECTION = <table> {
 }
 Debuffs = TukuiPlayerFrameDebuffs {
 }
 unit = "player"
 UNIT_SPELLCAST_STOP = <table> {
 }
 Backdrop = Frame {
 }
 Name = FontString {
 }
 Buffs = TukuiPlayerFrameBuffs {
 }
 HealthPrediction = <table> {
 }
 __tags = <table> {
 }
 __elements = <table> {
 }
 Panel = Frame {
 }
 IsPingable = true
 Castbar = TukuiPlayerCastBar {
 }
 UNIT_HEALTH = <table> {
 }
 Health = StatusBar {
 }
 Portrait = PlayerModel {
 }
 MasterLooterIndicator = Texture {
 }
 UNIT_SPELLCAST_START = <table> {
 }
 PLAYER_REGEN_ENABLED = <table> {
 }
 UNIT_MAX_HEALTH_MODIFIERS_CHANGED = <table> {
 }
 RaidTargetIndicator = Texture {
 }
 Power = StatusBar {
 }
 AdditionalPower = TukuiPlayerFrameAdditionalPower {
 }
 HolyPower = TukuiPlayerFrameHolyPower {
 }
 LeaderIndicator = Texture {
 }
 style = "Tukui"
 UNIT_DISPLAYPOWER = <table> {
 }
 RestingIndicator = Texture {
 }
 Status = Texture {
 }
 CombatIndicator = Texture {
 }
 CombatFeedbackText = FontString {
 }
 UNIT_SPELLCAST_FAILED = <table> {
 }
}
event = "UNIT_POWER_UPDATE"
unit = "player"
powerType = "HOLY_POWER"
hp = TukuiPlayerFrameHolyPower {
 1 = TukuiPlayerFrameHolyPower1 {
 }
 2 = TukuiPlayerFrameHolyPower2 {
 }
 3 = TukuiPlayerFrameHolyPower3 {
 }
 Backdrop = Frame {
 }
 __owner = TukuiPlayerFrame {
 }
}
num = 0
numMax = 5
(for index) = 4
(for limit) = 5
(for step) = 1
i = 4
(*temporary) = nil
(*temporary) = nil
(*temporary) = 0.300000
(*temporary) = "attempt to index field '?' (a nil value)"