Close #564 adding a blank arg is a silly idea
This commit is contained in:
parent
6c14f40108
commit
4685099808
@ -137,18 +137,7 @@ public class PluginManager
|
|||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
String[] args;
|
String[] args = Arrays.copyOfRange( split, 1, split.length );
|
||||||
|
|
||||||
// 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 );
|
|
||||||
}
|
|
||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
if ( tabResults == null )
|
if ( tabResults == null )
|
||||||
|
Loading…
Reference in New Issue
Block a user