Client: Fix /client without any args (Thanks Fam0r)

This commit is contained in:
UnknownShadow200 2016-10-18 19:45:14 +11:00
parent 62f01431ba
commit 33aff91cf3

View File

@ -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]" );