Removes redundant delegate type declarations

This commit is contained in:
Kamron Batman 2018-09-14 14:32:04 -07:00
parent 3c9842ee5a
commit c85b0a740c
317 changed files with 898 additions and 903 deletions

View file

@ -21,7 +21,7 @@ namespace Server.Misc
public static void Initialize()
{
EventSink.Login += new LoginEventHandler( EventSink_Login );
EventSink.Login += EventSink_Login;
}
private static void EventSink_Login( LoginEventArgs e )

View file

@ -33,7 +33,7 @@ namespace Server.Misc
m_MoveHistory = new Dictionary<Mobile, LocationInfo>();
if ( Enabled )
EventSink.Login += new LoginEventHandler( OnLogin );
EventSink.Login += OnLogin;
}
public static void OnLogin( LoginEventArgs e )

View file

@ -15,7 +15,7 @@ namespace Server.Misc
{
// Register our speech handler
if ( Enabled )
EventSink.Speech += new SpeechEventHandler( EventSink_Speech );
EventSink.Speech += EventSink_Speech;
}
private static void EventSink_Speech( SpeechEventArgs args )