mirror of
https://github.com/Anuken/Mindustry.git
synced 2024-09-20 04:47:54 +03:00
why
This commit is contained in:
parent
4c4c361093
commit
d37e8c2e75
@ -602,7 +602,7 @@ public class ServerControl implements ApplicationListener{
|
||||
|
||||
handler.register("whitelist", "[add/remove] [ID]", "Add/remove players from the whitelist using their ID.", arg -> {
|
||||
if(arg.length == 0){
|
||||
var whitelist = netServer.admins.getWhitelisted();
|
||||
Seq<PlayerInfo> whitelist = netServer.admins.getWhitelisted();
|
||||
|
||||
if(whitelist.isEmpty()){
|
||||
info("No whitelisted players found.");
|
||||
@ -633,6 +633,7 @@ public class ServerControl implements ApplicationListener{
|
||||
}
|
||||
});
|
||||
|
||||
//TODO should be a config, not a separate command.
|
||||
handler.register("shuffle", "[none/all/custom/builtin]", "Set map shuffling mode.", arg -> {
|
||||
if(arg.length == 0){
|
||||
info("Shuffle mode current set to '@'.", maps.getShuffleMode());
|
||||
|
Loading…
Reference in New Issue
Block a user