Don't nuke command on tab complete if no args specified.

This commit is contained in:
md_5 2015-01-12 11:07:43 +11:00
parent a5f2b423d4
commit 52b75cd18b

View File

@ -160,7 +160,7 @@ public class PluginManager
if ( tabResults == null )
{
command.execute( sender, args );
} else if ( command instanceof TabExecutor )
} else if ( commandLine.contains( " " ) && command instanceof TabExecutor )
{
for ( String s : ( (TabExecutor) command ).onTabComplete( sender, args ) )
{