mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-01 05:47:45 +01:00
Add configuration option to prevent player names from being suggested
This commit is contained in:
parent
49fbdd7336
commit
52c71f2edc
@ -2863,5 +2863,10 @@ public final class CraftServer implements Server {
|
|||||||
commandMap.registerServerAliases();
|
commandMap.registerServerAliases();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean suggestPlayerNamesWhenNullTabCompletions() {
|
||||||
|
return io.papermc.paper.configuration.GlobalConfiguration.get().commands.suggestPlayerNamesWhenNullTabCompletions;
|
||||||
|
}
|
||||||
// Paper end
|
// Paper end
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user