From 4e941e36b98f92e3d362edc27dbf5d5711453614 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 12 Aug 2007 17:45:52 +0000 Subject: [PATCH] crash fix, issue #235 --- .../Commands/Generic/Implementors/SerialCommandImplementor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/Commands/Generic/Implementors/SerialCommandImplementor.cs b/Scripts/Commands/Generic/Implementors/SerialCommandImplementor.cs index 9cf3d5c4e..50ab0c871 100644 --- a/Scripts/Commands/Generic/Implementors/SerialCommandImplementor.cs +++ b/Scripts/Commands/Generic/Implementors/SerialCommandImplementor.cs @@ -35,7 +35,8 @@ namespace Server.Commands.Generic } else { - BaseCommand command = this.Commands[e.GetString( 1 )]; + BaseCommand command = null; + m_Commands.TryGetValue( e.GetString( 1 ), out command ); if ( command == null ) {