From 33aff91cf36233d96484b31e464ea00e02feab1d Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Tue, 18 Oct 2016 19:45:14 +1100 Subject: [PATCH] Client: Fix /client without any args (Thanks Fam0r) --- ClassicalSharp/Commands/CommandList.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ClassicalSharp/Commands/CommandList.cs b/ClassicalSharp/Commands/CommandList.cs index db93f6bf5..3feac2e1e 100644 --- a/ClassicalSharp/Commands/CommandList.cs +++ b/ClassicalSharp/Commands/CommandList.cs @@ -70,7 +70,7 @@ namespace ClassicalSharp.Commands { text = text.Substring( 1 ); } - if( text.Length == 1 ) { // only / or /client + if( text.Length == 0 ) { // only / or /client game.Chat.Add( "&eList of client commands:" ); PrintDefinedCommands( game ); game.Chat.Add( "&eTo see a particular command's help, type /client help [cmd name]" );