#2437: Behave more like underlying servers and don't send no permission messages during tab completion
This commit is contained in:
parent
76dc32ee32
commit
730715e68b
@ -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" ) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user