misc changes laying around
This commit is contained in:
parent
a48e8d7633
commit
36868afd0a
12 changed files with 70 additions and 25 deletions
|
|
@ -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." );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue