Made 'custom' the default shuffle mode for backwards compat
This commit is contained in:
@@ -457,7 +457,7 @@ public class Maps{
|
|||||||
return maps.find(m -> m != prev || maps.size == 1);
|
return maps.find(m -> m != prev || maps.size == 1);
|
||||||
}),
|
}),
|
||||||
custom(prev -> {
|
custom(prev -> {
|
||||||
Array<Map> maps = Array.withArrays(Vars.maps.customMaps());
|
Array<Map> maps = Array.withArrays(Vars.maps.customMaps().isEmpty() ? Vars.maps.defaultMaps() : Vars.maps.customMaps());
|
||||||
maps.shuffle();
|
maps.shuffle();
|
||||||
return maps.find(m -> m != prev || maps.size == 1);
|
return maps.find(m -> m != prev || maps.size == 1);
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -60,7 +60,7 @@ public class ServerControl implements ApplicationListener{
|
|||||||
"shufflemode", "normal",
|
"shufflemode", "normal",
|
||||||
"bans", "",
|
"bans", "",
|
||||||
"admins", "",
|
"admins", "",
|
||||||
"shufflemode", "all",
|
"shufflemode", "custom",
|
||||||
"crashreport", false,
|
"crashreport", false,
|
||||||
"port", port,
|
"port", port,
|
||||||
"logging", true,
|
"logging", true,
|
||||||
|
|||||||
Reference in New Issue
Block a user