Made 'custom' the default shuffle mode for backwards compat

This commit is contained in:
Anuken
2019-11-21 20:42:57 -05:00
parent f162d815fe
commit b8e3b70fcc
2 changed files with 2 additions and 2 deletions

View File

@@ -457,7 +457,7 @@ public class Maps{
return maps.find(m -> m != prev || maps.size == 1);
}),
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();
return maps.find(m -> m != prev || maps.size == 1);
}),