- Reverted the last experimental fix due to a crash. Will recommit soon.

This commit is contained in:
Agetian
2013-03-06 07:01:30 +00:00
parent 74643082d8
commit c045cbe93c

View File

@@ -67,14 +67,7 @@ public class GuiDownloadPicturesLQ extends GuiDownloader {
for (final IPaperCard c : CardDb.instance().getUniqueCards()) {
//System.out.println(c.getName());
CardRules cardRules = c.getRules();
String cardName = "";
if (cardRules.getSplitType() == CardSplitType.Split) {
cardName = String.format("%s%s", cardRules.getMainPart().getName() + cardRules.getOtherPart().getName());
System.out.println(cardName);
} else {
cardName = cardRules.getMainPart().getName();
}
this.createDLObjects(cardRules.getPictureUrl(), cardName);
this.createDLObjects(cardRules.getPictureUrl(), cardRules.getMainPart().getName());
ICardCharacteristics secondSide = cardRules.getOtherPart();
if (secondSide != null && cardRules.getSplitType() == CardSplitType.Transform) {