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

@ -291,7 +291,7 @@ namespace Server.Items
public static void Initialize()
{
PacketHandlers.Register( 0x56, 11, true, new OnPacketReceive( OnMapCommand ) );
PacketHandlers.Register( 0x56, 11, true, OnMapCommand );
}
private static void OnMapCommand( NetState state, PacketReader pvSrc )

View file

@ -902,7 +902,7 @@ namespace Server.Items
{
Movable = false;
Timer.DelayCall( TimeSpan.FromMinutes( 2.0 ), new TimerCallback( Delete ) );
Timer.DelayCall( TimeSpan.FromMinutes( 2.0 ), Delete );
}
public TreasureChestDirt( Serial serial ) : base( serial )