mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
- Experimental fix for the Picture URL not being processed correctly for split cards when downloading card images (can't test because for some reason the LQ picture downloader crashes for me, even without this fix in its stock trunk form).
This commit is contained in:
@@ -67,7 +67,14 @@ public class GuiDownloadPicturesLQ extends GuiDownloader {
|
||||
for (final IPaperCard c : CardDb.instance().getUniqueCards()) {
|
||||
//System.out.println(c.getName());
|
||||
CardRules cardRules = c.getRules();
|
||||
this.createDLObjects(cardRules.getPictureUrl(), cardRules.getMainPart().getName());
|
||||
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);
|
||||
|
||||
ICardCharacteristics secondSide = cardRules.getOtherPart();
|
||||
if (secondSide != null && cardRules.getSplitType() == CardSplitType.Transform) {
|
||||
|
||||
Reference in New Issue
Block a user