Add configuration option to prevent player names from being suggested

This commit is contained in:
Riley Park 2017-06-09 07:24:34 -07:00
parent 49fbdd7336
commit 52c71f2edc

View File

@ -2863,5 +2863,10 @@ public final class CraftServer implements Server {
commandMap.registerServerAliases();
return true;
}
@Override
public boolean suggestPlayerNamesWhenNullTabCompletions() {
return io.papermc.paper.configuration.GlobalConfiguration.get().commands.suggestPlayerNamesWhenNullTabCompletions;
}
// Paper end
}