BlizzHUDTweaks

BlizzHUDTweaks

155k Downloads

[BUG] ClassPowerBar Druid

gaveer opened this issue ยท 2 comments

commented

Description

-Enable class resorces throw error Druid
My druid lvl 17

Reproduce

What steps are needed to reproduce it?

  1. Enter the BHT settings
  2. Enable class resorces Module
  3. Boom

Optional Context (e.g. Screenshots)

133x FrameXML/ClassPowerBar.lua:11: attempt to index a nil value
[string "@FrameXML/ClassPowerBar.lua"]:11: in function `GetUnit'
[string "@FrameXML/DruidComboPointBar.lua"]:5: in function `shouldShowBarFunc'
[string "@FrameXML/ClassResourceBarTemplate.lua"]:92: in function `Setup'
[string "@FrameXML/ClassResourceBarTemplate.lua"]:52: in function <FrameXML/ClassResourceBarTemplate.lua:43>

Locals:
self = DruidComboPointBarFrame {
 0 = <userdata>
 OnEnter = <function> defined @FrameXML/ClassPowerBar.lua:66
 resourcePointTemplate = "DruidComboPointTemplate"
 class = "DRUID"
 OnCleaned = <function> defined @SharedXML/LayoutFrame.lua:131
 HandleBarSetup = <function> defined @FrameXML/ClassResourceBarTemplate.lua:67
 GetAdditionalRegions = <function> defined @SharedXML/LayoutFrame.lua:85
 GetFixedSize = <function> defined @SharedXML/LayoutFrame.lua:156
 OnShow = <function> defined @FrameXML/UIParent.lua:2576
 UsesPowerToken = <function> defined @FrameXML/ClassPowerBar.lua:39
 layoutParent = PlayerFrameBottomManagedFramesContainer {
 }
 LayoutChildren = <function> defined @SharedXML/LayoutFrame.lua:316
 shouldShowBarFunc = <function> defined @FrameXML/DruidComboPointBar.lua:3
 Setup = <function> defined @FrameXML/ClassResourceBarTemplate.lua:82
 TurnOn = <function> defined @FrameXML/ClassPowerBar.lua:102
 GetUnit = <function> defined @FrameXML/ClassPowerBar.lua:10
 resourcePointSetupFunc = <function> defined @FrameXML/DruidComboPointBar.lua:24
 SetFixedWidth = <function> defined @SharedXML/LayoutFrame.lua:135
 CalculateFrameSize = <function> defined @SharedXML/LayoutFrame.lua:210
 AddLayoutChildren = <function> defined @SharedXML/LayoutFrame.lua:55
 spacing = 4
 SetFixedSize = <function> defined @SharedXML/LayoutFrame.lua:143
 GetLayoutChildren = <function> defined @SharedXML/LayoutFrame.lua:73
 IsDirty = <function> defined @SharedXML/LayoutFrame.lua:127
 OnLoad = <function> defined @FrameXML/ClassResourceBarTemplate.lua:23
 Layout = <function> defined @SharedXML/LayoutFrame.lua:223
 SetTooltip = <function> defined @FrameXML/ClassPowerBar.lua:15
 tooltipTitle = "Combo Points"
 UpdateMaxPower = <function> defined @FrameXML/ClassResourceBarTemplate.lua:118
 GetPadding = <function> defined @SharedXML/LayoutFrame.lua:178
 usePooledResourceButtons = true
 MarkDirty = <function> defined @SharedXML/LayoutFrame.lua:99
 SetHeightPadding = <function> defined @SharedXML/LayoutFrame.lua:160
 GetChildPadding = <function> defined @SharedXML/LayoutFrame.lua:187
 isManagedFrame = true
 OnUpdate = <function> defined @SharedXML/LayoutFrame.lua:93
 GetHeightPadding = <function> defined @SharedXML/LayoutFrame.lua:164
 align = "center"
 powerToken = "COMBO_POINTS"
 resourcePointReleaseFunc = <function> defined @FrameXML/DruidComboPointBar.lua:30
 dirty = false
 tooltip = "Resource used by Druids in Cat Form. Some abilities generate Combo Points, and Finishing moves consume all Combo Points to increase their effectiveness."
 GetFixedHeight = <function> defined @SharedXML/LayoutFrame.lua:152
 tooltip2 = "Resource used by Druids in Cat Form. Some abilities generate Combo Points, and Finishing moves consume all Combo Points to increase their effectiveness."
 ShouldShowBar = <function> defined @FrameXML/DruidComboPointBar.lua:3
 powerTokens = <table> {
 }
 SetFixedHeight = <function> defined @SharedXML/LayoutFrame.lua:139
 classResourceButtonTable = <table> {
 }
 IsLayoutFrame = <function> defined @SharedXML/LayoutFrame.lua:36
 classResourceButtonPool = <table> {
 }
 showTooltip = true
 resourceBarMixin = <table> {
 }
 TurnOff = <function> defined @FrameXML/ClassPowerBar.lua:118
 topPadding = 7
 GetFixedWidth = <function> defined @SharedXML/LayoutFrame.lua:148
 isPlayerFrameBottomManagedFrame = true
 tooltip1 = "Combo Points"
 OnHide = <function> defined @FrameXML/UIParent.lua:2580
 UpdatePower = <function> defined =[C]:-1
 GetWidthPadding = <function> defined @SharedXML/LayoutFrame.lua:168
 OnEvent = <function> defined @FrameXML/ClassResourceBarTemplate.lua:43
 SetPowerTokens = <function> defined @FrameXML/ClassPowerBar.lua:28
 layoutIndex = 1
 powerT
commented
  • just found that the other addon cause this issue , case close
commented

Forgot to Mention i have hide the resorces power with another addon *