Removes redundant delegate type declarations
This commit is contained in:
parent
3c9842ee5a
commit
c85b0a740c
317 changed files with 898 additions and 903 deletions
|
|
@ -25,10 +25,10 @@ namespace Server.Spells.Spellweaving
|
|||
|
||||
public static void Initialize()
|
||||
{
|
||||
EventSink.PlayerDeath += new PlayerDeathEventHandler( delegate( PlayerDeathEventArgs e )
|
||||
EventSink.PlayerDeath += delegate( PlayerDeathEventArgs e )
|
||||
{
|
||||
HandleDeath( e.Mobile );
|
||||
} );
|
||||
};
|
||||
}
|
||||
|
||||
public override void OnCast()
|
||||
|
|
@ -93,7 +93,7 @@ namespace Server.Spells.Spellweaving
|
|||
public static void HandleDeath( Mobile m )
|
||||
{
|
||||
if ( m_Table.ContainsKey( m ) )
|
||||
Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( Utility.RandomMinMax( 2, 4 ) ), new TimerStateCallback<Mobile>( HandleDeath_OnCallback ), m );
|
||||
Timer.DelayCall<Mobile>( TimeSpan.FromSeconds( Utility.RandomMinMax( 2, 4 ) ), HandleDeath_OnCallback, m );
|
||||
}
|
||||
|
||||
private static void HandleDeath_OnCallback( Mobile m )
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue