Changed getSortedEditions to now also include Custom Sets

This commit is contained in:
leriomaggio
2021-05-31 10:18:21 +01:00
parent 03d6687c64
commit 32cc860eda

View File

@@ -163,6 +163,11 @@ public class StaticData {
for (CardEdition set : editions) {
sortedEditions.add(set);
}
if (customEditions.size() > 0){
for (CardEdition set : customEditions) {
sortedEditions.add(set);
}
}
Collections.sort(sortedEditions);
Collections.reverse(sortedEditions); //put newer sets at the top
}