Restored functionality : deckeditor shows all valid formats for decks in its list.

This commit is contained in:
Maxmtg
2014-01-14 07:21:49 +00:00
parent 563c089b9d
commit 286d7d043c
2 changed files with 16 additions and 4 deletions

View File

@@ -290,7 +290,6 @@ public class GameFormat implements Comparable<GameFormat> {
if ( gf.isDeckLegal(deck) )
return gf;
}
return NoFormat;
}
@@ -300,6 +299,8 @@ public class GameFormat implements Comparable<GameFormat> {
if (gf.isDeckLegal(deck))
result.add(gf);
}
if( result.isEmpty())
result.add(NoFormat);
return result;
}
}