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

@ -22,12 +22,12 @@ namespace Server
public static void Initialize()
{
CommandSystem.Register( "Path", AccessLevel.GameMaster, new CommandEventHandler( Path_OnCommand ) );
CommandSystem.Register( "Path", AccessLevel.GameMaster, Path_OnCommand );
}
public static void Path_OnCommand( CommandEventArgs e )
{
e.Mobile.BeginTarget( -1, true, TargetFlags.None, new TargetCallback( Path_OnTarget ) );
e.Mobile.BeginTarget( -1, true, TargetFlags.None, Path_OnTarget );
e.Mobile.SendMessage( "Target a location and a path will be drawn there." );
}