Close #564 adding a blank arg is a silly idea

This commit is contained in:
md_5 2013-10-09 22:36:44 +11:00
parent 6c14f40108
commit 4685099808

View File

@ -137,18 +137,7 @@ public class PluginManager
return true;
}
String[] args;
// add empty argument for tab completion
if ( commandLine.endsWith( " " ) )
{
args = Arrays.copyOfRange( split, 1, split.length + 1 );
args[ split.length - 1] = "";
} else
{
args = Arrays.copyOfRange( split, 1, split.length );
}
String[] args = Arrays.copyOfRange( split, 1, split.length );
try
{
if ( tabResults == null )