Removing Commander from the list of formats shown in the deck item view as it only checks against the banlist, not other deckbuilding requirements.

(cherry picked from commit a6f3371)
This commit is contained in:
austinio7116
2019-06-22 22:11:00 +01:00
committed by maustin
parent 72eb4d4f0e
commit b7fb52c7a0

View File

@@ -509,6 +509,10 @@ public class GameFormat implements Comparable<GameFormat> {
//exclude Digital formats from lists for now
continue;
}
if (gf.getFormatSubType().equals(FormatSubType.Commander)){
//exclude Commander format as other deck checks are not performed here
continue;
}
if (gf.getFormatType().equals(FormatType.Historic) && coveredTypes.contains(gf.getFormatSubType())
&& !exhaustive){
//exclude duplicate formats - only keep first of e.g. Standard historical