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

@ -109,7 +109,7 @@ namespace Server.Items
Spells.SpellHelper.Damage( TimeSpan.FromTicks( 1 ), mob, mob, Utility.RandomMinMax( 1, 6 ) * 6 );
}
Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), new TimerCallback( OnSpikeExtended ) );
Timer.DelayCall( TimeSpan.FromSeconds( 1.0 ), OnSpikeExtended );
from.LocalOverheadMessage( MessageType.Regular, 0x22, 500852 ); // You stepped onto a spike trap!
}
@ -117,7 +117,7 @@ namespace Server.Items
public virtual void OnSpikeExtended()
{
Extended = true;
Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), new TimerCallback( OnSpikeRetracted ) );
Timer.DelayCall( TimeSpan.FromSeconds( 5.0 ), OnSpikeRetracted );
}
public virtual void OnSpikeRetracted()