mirror of
https://github.com/magefree/mage.git
synced 2025-12-22 11:32:00 -08:00
fix for m13 type in deck generator
This commit is contained in:
parent
3ddff4a113
commit
d9e0590763
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ public class ConstructedFormats {
|
||||||
|
|
||||||
public static List<String> getSetsByFormat(String format) {
|
public static List<String> getSetsByFormat(String format) {
|
||||||
if (format.equals("M13")) {
|
if (format.equals("M13")) {
|
||||||
return innistradBlock;
|
return m13;
|
||||||
}
|
}
|
||||||
if (format.equals("ISD\\DKA\\AVR")) {
|
if (format.equals("ISD\\DKA\\AVR")) {
|
||||||
return innistradBlock;
|
return innistradBlock;
|
||||||
|
|
@ -54,7 +54,7 @@ public class ConstructedFormats {
|
||||||
if (set.getReleaseDate().after(m13Date)) {
|
if (set.getReleaseDate().after(m13Date)) {
|
||||||
m13.add(set.getCode());
|
m13.add(set.getCode());
|
||||||
}
|
}
|
||||||
if (set.getReleaseDate().after(innistradBlockDate)) {
|
if (set.getReleaseDate().after(innistradBlockDate) && set.getReleaseDate().before(m13Date)) {
|
||||||
innistradBlock.add(set.getCode());
|
innistradBlock.add(set.getCode());
|
||||||
}
|
}
|
||||||
if (set.getReleaseDate().after(standardDate)) {
|
if (set.getReleaseDate().after(standardDate)) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue