Fixed symbol replacement and format definition.

This commit is contained in:
LevelX2 2013-01-06 11:17:06 +01:00
parent 36a2906ab5
commit 11e2df7a86
2 changed files with 7 additions and 7 deletions

View file

@ -39,7 +39,7 @@ public class ConstructedFormats {
"* Mirage Block", "Weatherlight", "Visions", "Mirage", "Fifth Edition",
"* Ice Age Block", "Coldsnap", "Alliances", "Ice Age", "Fourth Edition",
"Homelands","Fallen Empires","The Dark","Legends","Antiquities", "Arabian Nights",
"Unlimited Edition", "Revised Edition", "Limited Edition Beta", "Limited Edition Alpha",
"Revised Edition", "Unlimited Edition", "Limited Edition Beta", "Limited Edition Alpha",
"Guru",
"Duel Decks: Elspeth vs. Tezzeret"
};
@ -300,10 +300,10 @@ public class ConstructedFormats {
if (format.equals("Limited Edition Beta")) {
return Arrays.asList("LEB");
}
if (format.equals("Revised Edition")) {
if (format.equals("Unlimited Edition")) {
return Arrays.asList("2ED");
}
if (format.equals("Unlimited Edition")) {
if (format.equals("Revised Edition")) {
return Arrays.asList("3ED");
}
if (format.equals("Fourth Edition")) {

View file

@ -71,10 +71,10 @@ public class GathererSets implements Iterable<DownloadJob> {
symbolsReplacements.put("6ED", "6E");
symbolsReplacements.put("5ED", "5E");
symbolsReplacements.put("4ED", "4E");
symbolsReplacements.put("3ED", "RV");
symbolsReplacements.put("2ED", "UN");
symbolsReplacements.put("LEB", "BE");
symbolsReplacements.put("LEA", "AL");
symbolsReplacements.put("3ED", "3E");
symbolsReplacements.put("2ED", "2U");
symbolsReplacements.put("LEB", "2E");
symbolsReplacements.put("LEA", "1E");
}
public GathererSets(String path) {