misc changes laying around

This commit is contained in:
mark 2007-10-12 18:37:47 +00:00
parent a48e8d7633
commit 36868afd0a
12 changed files with 70 additions and 25 deletions

View file

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