fix command not working

This commit is contained in:
Adam 2020-12-29 00:10:07 +11:00
parent 3189989f93
commit fbbd8a26f7

View file

@ -68,7 +68,7 @@ namespace Penumbra
private void OnCommand( string command, string rawArgs )
{
var args = rawArgs.Split( ' ' );
if( args.Length > 0 )
if( args.Length > 0 && args[ 0 ].Length > 0 )
{
switch( args[ 0 ] )
{