a few generics and misc code cleanup

slight tweaks/opt
This commit is contained in:
mark 2007-01-19 19:33:13 +00:00
parent 83190372f8
commit 566de1c2cf
20 changed files with 125 additions and 164 deletions

View file

@ -26,7 +26,7 @@ namespace Server.Commands.Generic
public void Redirect( CommandEventArgs e )
{
BaseCommand command = (BaseCommand)Commands[e.Command];
BaseCommand command = Commands[e.Command];
if ( command == null )
e.Mobile.SendMessage( "That is either an invalid command name or one that does not support this modifier." );