Added the Theros set.

This commit is contained in:
LevelX2 2013-09-02 17:10:38 +02:00
parent a5af087347
commit 5496cb4afd
8 changed files with 72 additions and 4 deletions

View file

@ -17,6 +17,7 @@ public class ConstructedFormats {
private static final String[] constructedFormats = {
"- All Sets", "- Standard", "- Extended", "- Modern",
"* Theros Block", "Theros",
"Magic 2014",
"Modern Masters",
"* Return to Ravnica Block", "Dragon's Maze", "Gatecrash", "Return to Ravnica",
@ -59,7 +60,13 @@ public class ConstructedFormats {
}
public static List<String> getSetsByFormat(String format) {
if (format.equals("* Theros Block")) {
return Arrays.asList("THS");
}
if (format.equals("Theros")) {
return Arrays.asList("THS");
}
if (format.equals("Arabian Nights")) {
return Arrays.asList("ARN");
}