From 1b43898c9ac3c6c4f1661f8d1546a22069170e43 Mon Sep 17 00:00:00 2001 From: mark Date: Sun, 11 Feb 2007 05:30:33 +0000 Subject: [PATCH] stupid bug ive been too lazy to fix --- .../Commands/Generic/Implementors/BaseCommandImplementor.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Scripts/Commands/Generic/Implementors/BaseCommandImplementor.cs b/Scripts/Commands/Generic/Implementors/BaseCommandImplementor.cs index 6016d2130..113f859c5 100644 --- a/Scripts/Commands/Generic/Implementors/BaseCommandImplementor.cs +++ b/Scripts/Commands/Generic/Implementors/BaseCommandImplementor.cs @@ -276,7 +276,8 @@ namespace Server.Commands.Generic { if ( e.Length >= 1 ) { - BaseCommand command = m_Commands[e.GetString( 0 )]; + BaseCommand command = null; + m_Commands.TryGetValue( e.GetString( 0 ), out command ); if ( command == null ) {