View Single Post
02-26-11, 02:35 AM   #2
tecu
An Aku'mai Servant
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 30
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.
  Reply With Quote