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

@ -18,10 +18,10 @@ namespace Server.Commands
public static void Initialize()
{
CommandSystem.Register( "Wipe", AccessLevel.GameMaster, new CommandEventHandler( WipeAll_OnCommand ) );
CommandSystem.Register( "WipeItems", AccessLevel.GameMaster, new CommandEventHandler( WipeItems_OnCommand ) );
CommandSystem.Register( "WipeNPCs", AccessLevel.GameMaster, new CommandEventHandler( WipeNPCs_OnCommand ) );
CommandSystem.Register( "WipeMultis", AccessLevel.GameMaster, new CommandEventHandler( WipeMultis_OnCommand ) );
CommandSystem.Register( "Wipe", AccessLevel.GameMaster, WipeAll_OnCommand );
CommandSystem.Register( "WipeItems", AccessLevel.GameMaster, WipeItems_OnCommand );
CommandSystem.Register( "WipeNPCs", AccessLevel.GameMaster, WipeNPCs_OnCommand );
CommandSystem.Register( "WipeMultis", AccessLevel.GameMaster, WipeMultis_OnCommand );
}
[Usage( "Wipe" )]
@ -54,7 +54,7 @@ namespace Server.Commands
public static void BeginWipe( Mobile from, WipeType type )
{
BoundingBoxPicker.Begin( from, new BoundingBoxCallback( WipeBox_Callback ), type );
BoundingBoxPicker.Begin( from, WipeBox_Callback, type );
}
private static void WipeBox_Callback( Mobile from, Map map, Point3D start, Point3D end, object state )