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

@ -12,7 +12,7 @@ namespace Server
public static void Initialize()
{
VirtueGump.Register( 109, new OnVirtueUsed( OnVirtueUsed ) );
VirtueGump.Register( 109, OnVirtueUsed );
}
public static bool CheckMapRegion( Mobile first, Mobile second )
@ -65,7 +65,7 @@ namespace Server
}
else
{
protector.BeginTarget( 14, false, TargetFlags.None, new TargetCallback( OnVirtueTargeted ) );
protector.BeginTarget( 14, false, TargetFlags.None, OnVirtueTargeted );
protector.SendLocalizedMessage( 1049366 ); // Choose the player you wish to protect.
}
}