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

@ -87,15 +87,15 @@ namespace Server.Misc
{
private static Dictionary<Mobile, Timer> m_Dictionary = new Dictionary<Mobile, Timer>();
private static TimerStateCallback OnHandshakeTimeout_Callback = new TimerStateCallback(OnHandshakeTimeout);
private static TimerStateCallback OnForceDisconnect_Callback = new TimerStateCallback(OnForceDisconnect);
private static TimerStateCallback OnHandshakeTimeout_Callback = OnHandshakeTimeout;
private static TimerStateCallback OnForceDisconnect_Callback = OnForceDisconnect;
public static void Initialize()
{
if (Settings.Enabled)
{
EventSink.Login += new LoginEventHandler(EventSink_Login);
ProtocolExtensions.Register(0xFF, true, new OnPacketReceive(OnHandshakeResponse));
EventSink.Login += EventSink_Login;
ProtocolExtensions.Register(0xFF, true, OnHandshakeResponse);
}
}