aura tooltip error
I get this error when I mouseover a debuff on my raidframes.
I do not get an error when I mouseover a buff/debuff on target or focus. I disabled my tooltip addon to see if it's the cause, it doesn't matter. I'm using the latest version of oUF from Github, but tried to use 1.5.8 aswell. Code:
Message: Interface\AddOns\oUF\elements\aura.lua:8: Usage: GameTooltip:SetUnitAura("unit", [index] or ["name", "rank"][, "filter"]) Code:
-- debuffs Code:
Debuffs.PostCreateIcon = PostCreateIcon Any ideas? |
It looks like the unit argument to SetUnitAura is nil. Which would mean, from oUF/elements/auras.lua, 'self.parent:GetParent().unit' is nil (self is the aura button, self.parent is the auras frame, and self.parent:GetParent() should be the unit frame itself).
You parent your buff frame to self.Health (self in this case is your unit frame), so the :GetParent() call above is returning the Health element rather than the unit frame. The easiest temp fix would be to change self.parent.GetParent().unit to self.parent.__owner.unit in auras.lua. |
Looks like I forgot to change that one when I added .__owner. :(
Just so I don't forget about it: https://github.com/haste/oUF/issues/75 |
I'm just glad it wasn't me. I was about going crazy on this. :banana:
Seems to work fine with the latest version on github, thanks. :) |
All times are GMT -6. The time now is 06:56 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI