View Single Post
05-10-14, 12:59 PM   #16
Billtopia
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Apr 2009
Posts: 110
I found your issue... the event handler you set up is wrong. it is supposed to be passed SELF, EVENT, ... you are, it seems, passing it nothing. no self, no event, and no ...

if you want to use any of the data from the event you must pass it to your function explicitly if you want to use the EVENT data you must pass SELF, and EVENT like in my example. You should also pass "..." as in my example so you can check to see if it is your addon being called or someone elses. Your addon can crash if it tries to init before wow inits it first, or force the setup to run 1- #addonLoaded + wow addons loading (OK not quite that many times but you can/will have problems)
  Reply With Quote