update Standard rotation; resolves #11150

This commit is contained in:
xenohedron 2023-09-11 19:09:07 -04:00
parent ed085f2ea3
commit 9a0143be0e

View file

@ -38,7 +38,7 @@ public class Standard extends Constructed {
static List<String> makeLegalSets() {
GregorianCalendar current = new GregorianCalendar();
// Get the second most recent fall set that's been released.
// Get the third most recent fall set that's been released.
Date earliestDate = Sets
.getInstance()
.values()
@ -46,7 +46,7 @@ public class Standard extends Constructed {
.filter(set -> !set.getReleaseDate().after(current.getTime()))
.filter(Standard::isFallSet)
.sorted(ExpansionSet.getComparator())
.skip(1)
.skip(2)
.findFirst()
.get()
.getReleaseDate();