mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
Restored functionality : deckeditor shows all valid formats for decks in its list.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user