Added RNA images support for scryfall, fixed MED set for scryfall, fixed bloated logs for machines without sound.

This commit is contained in:
Oleg Agafonov 2018-12-21 20:09:01 +04:00
parent 5d1289a66e
commit fbca0f4fef
2 changed files with 3 additions and 1 deletions

View file

@ -57,7 +57,7 @@ public class AudioManager {
try {
linePool = new LinePool();
} catch (Exception e) {
log.warn("Failed to initialize AudioManager. No sounds will be played.", e);
log.warn("Failed to initialize AudioManager (can't find compatible sound device). No sounds will be played.");
}
}

View file

@ -236,6 +236,7 @@ public enum ScryfallImageSource implements CardImageSource {
supportedSets.add("GNT");
supportedSets.add("UMA");
supportedSets.add("PUMA");
supportedSets.add("RNA");
//
supportedSets.add("EURO");
supportedSets.add("GPX");
@ -385,6 +386,7 @@ public enum ScryfallImageSource implements CardImageSource {
put("WMCQ", "pwcq");
put("EURO", "pelp");
put("GPX", "pgpx");
put("MED", "me1");
}
};