View Single Post
01-02-21, 07:15 PM   #2
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view addons
Join Date: Feb 2007
Posts: 1,710
Lua Code:
  1. create_cast_bar = function(self, unit, frame)
  2.     ...
  3.     frame.Castbar = Castbar
  4. end

Is "frame" the unit frame here? The castbar element only functions when "Castbar" is a child of that object.
I'm going to guess that you'd want this to be "self.Castbar = Castbar" instead.
  Reply With Quote