#2437: Behave more like underlying servers and don't send no permission messages during tab completion

This commit is contained in:
md_5 2018-06-21 12:52:03 +10:00
parent 76dc32ee32
commit 730715e68b

View File

@ -147,7 +147,7 @@ public class PluginManager
String permission = command.getPermission();
if ( permission != null && !permission.isEmpty() && !sender.hasPermission( permission ) )
{
if ( !( command instanceof TabExecutor ) || tabResults == null )
if ( tabResults == null )
{
sender.sendMessage( proxy.getTranslation( "no_permission" ) );
}