View Single Post
05-08-22, 11:49 AM   #9
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
If PLAYER_LOGIN didn't fire until after PEW then all my addons would be broken. It should fire only once after all inital ADDON_LOADEDs have happened and before PEW.

Which might have caused a propblem if at some stage you registered ADDON_LOADED and PLAYER_LOGIN but unregistered PLAYER_LOGIN at ADDON_LOADED.

What you get in your event functions is entirely dependant on what your OnEvent script sends them. You may have seen code from someone that sends the event and payload (I tend to send the frame "self" to the functions, but that's me).

Edit: For giggles, I changed the code from ADDON_LOADED to PLAYER_LOGIN, reset and everything worked fine as well.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 05-08-22 at 01:28 PM.
  Reply With Quote