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

@ -17,10 +17,10 @@ namespace Server.Misc
public static void Initialize()
{
if ( Settings.PartyTrack )
ProtocolExtensions.Register( 0x00, true, new OnPacketReceive( OnPartyTrack ) );
ProtocolExtensions.Register( 0x00, true, OnPartyTrack );
if ( Settings.GuildTrack )
ProtocolExtensions.Register( 0x01, true, new OnPacketReceive( OnGuildTrack ) );
ProtocolExtensions.Register( 0x01, true, OnGuildTrack );
}
private static void OnPartyTrack( NetState state, PacketReader pvSrc )