Quantcast
WoWInterface - View Single Post - How to hide "ClassNameplateManaBarFrame" using OUF?
View Single Post
04-16-20, 10:02 AM   #3
Lybrial
A Flamescale Wyrmkin
AddOn Compiler - Click to view compilations
Join Date: Jan 2010
Posts: 104
Originally Posted by Xruptor View Post
The cleanest solution would be to review the oUF code to determine what keeps showing it and disabling it there.
You are right. I created a bug-ticket in ouf git. For now I will do the following:

Lua Code:
  1. local function temporaryBugFix()
  2.     _G.ClassNameplateManaBarFrame.Show = _G.ClassNameplateManaBarFrame.Hide;
  3.     _G.DeathKnightResourceOverlayFrame.Show = _G.DeathKnightResourceOverlayFrame.Hide;
  4. end

But that leads to another strange error:

Lua Code:
  1. 4x [ADDON_ACTION_BLOCKED] AddOn 'Lybrial_NamePlates' tried to call secure function 'SetTargetClampingInsets()'.
  2. [string "@!BugGrabber\BugGrabber.lua"]:519: in function <!BugGrabber\BugGrabber.lua:519>
  3. [string "=[C]"]: in function `SetTargetClampingInsets'
  4. [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:274: in function `SetupClassNameplateBars'
  5. [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:96: in function `OnNamePlateAdded'
  6. [string "@Blizzard_NamePlates\Blizzard_NamePlates.lua"]:51: in function <...eBlizzard_NamePlates\Blizzard_NamePlates.lua:42>
  7. [string "=[C]"]: ?

But I can live with that for now
  Reply With Quote