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

@ -113,13 +113,13 @@ namespace Server.Items
{
if ( Pet == null )
{
list.Add( new BallEntry( new BallCallback( LinkPet ), 6180 ) );
list.Add( new BallEntry( LinkPet, 6180 ) );
}
else
{
list.Add(new BallEntry(new BallCallback( CastSummonPet ), 6181 ));
list.Add( new BallEntry( new BallCallback( UpdatePetName ), 6183 ) );
list.Add( new BallEntry( new BallCallback( UnlinkPet ), 6182 ) );
list.Add(new BallEntry(CastSummonPet, 6181 ));
list.Add( new BallEntry( UpdatePetName, 6183 ) );
list.Add( new BallEntry( UnlinkPet, 6182 ) );
}
}
}

View file

@ -110,10 +110,10 @@ namespace Server.Items
{
BraceletOfBinding bound = Bound;
list.Add( new BraceletEntry( new BraceletCallback( Activate ), 6170, bound != null ) );
list.Add( new BraceletEntry( new BraceletCallback( Search ), 6171, bound != null ) );
list.Add( new BraceletEntry( new BraceletCallback( Bind ), bound == null ? 6173 : 6174, true ) );
list.Add( new BraceletEntry( new BraceletCallback( Inscribe ), 6175, true ) );
list.Add( new BraceletEntry( Activate, 6170, bound != null ) );
list.Add( new BraceletEntry( Search, 6171, bound != null ) );
list.Add( new BraceletEntry( Bind, bound == null ? 6173 : 6174, true ) );
list.Add( new BraceletEntry( Inscribe, 6175, true ) );
}
}