Thread Tools Display Modes
Prev Previous Post   Next Post Next
03-26-13, 10:54 AM   #1
Rainrider
A Firelord
AddOn Author - Click to view addons
Join Date: Nov 2008
Posts: 454
Warlock resources bar problem

Here is my try at the warlock resources bar: https://gist.github.com/Rainrider/5246884

However, when testing this on a toon that does not have the prereq spells, I get the following error:

oUF: Error: Style [Rain] attempted to register event [SPELLS_CHANGED] on unit [player] with a handler that doesn't exist.
I checked Phanx' code as a reference and it seems to me (s)he does the same thing: registers the handler for the event from within the handler, but does not have any errors.

Could someone explain the difference I fail to see please?
  Reply With Quote
 

WoWInterface » Featured Projects » oUF (Otravi Unit Frames) » Warlock resources bar problem


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off