/// <summary>
 /// Register this event
 /// </summary>
 /// <param name="method">The method that will be called when the event is executed</param>
 /// <param name="priority">The priority of the call</param>
 public static void Register(OnCall method, Priority priority)
 {
     Registered r = new Registered();
     System.Reflection.ParameterInfo p = method.Method.GetParameters()[0];
     if (p.GetType() == typeof(PlayerConnectEvent))
         r.e = new PlayerConnectEvent();
     else
         throw new Exception("Invalid method");
     r.method = method;
     r.priority = priority;
     r.GiveMuffinToDerpy();
 }
        /// <summary>
        /// Register this event
        /// </summary>
        /// <param name="method">The method that will be called when the event is executed</param>
        /// <param name="priority">The priority of the call</param>
        public static void Register(OnCall method, Priority priority)
        {
            Registered r = new Registered();

            System.Reflection.ParameterInfo p = method.Method.GetParameters()[0];
            if (p.GetType() == typeof(PlayerConnectEvent))
            {
                r.e = new PlayerConnectEvent();
            }
            else
            {
                throw new Exception("Invalid method");
            }
            r.method   = method;
            r.priority = priority;
            r.GiveMuffinToDerpy();
        }