mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-16 22:43:14 +01:00
Add configuration option to prevent player names from being suggested
This commit is contained in:
parent
49fbdd7336
commit
52c71f2edc
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue