Improved shuffle command for dedicated server

This commit is contained in:
Anuken
2018-02-10 15:14:41 -05:00
parent e5365d5572
commit 0b09ca0817
3 changed files with 29 additions and 30 deletions

View File

@ -38,6 +38,14 @@ public class Maps implements Disposable{
return defaultMaps;
}
public Array<Map> getCustomMaps(){
array.clear();
for(Map map : list()){
if(map.custom) array.add(map);
}
return array;
}
public Array<Map> getAllMaps(){
array.clear();
for(Map map : list()){