mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 19:28:01 +00:00
removed extra parameter from getDownloadUrl - it was always true anyway
This commit is contained in:
@@ -263,8 +263,8 @@ public class ImageCache {
|
|||||||
return getImageLocator(cp, backFace, includeSet, false);
|
return getImageLocator(cp, backFace, includeSet, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getDownloadUrl(CardPrinted cp, boolean backFace, boolean includeSet) {
|
public static String getDownloadUrl(CardPrinted cp, boolean backFace) {
|
||||||
return getImageLocator(cp, backFace, includeSet, true);
|
return getImageLocator(cp, backFace, true, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String toMWSFilename(String in) {
|
public static String toMWSFilename(String in) {
|
||||||
|
|||||||
@@ -140,7 +140,7 @@ public class DeckSerializer extends StorageReaderFolder<Deck> implements IItemSe
|
|||||||
// System.out.println(card.getSets().get(card.getSets().size() - 1).URL);
|
// System.out.println(card.getSets().get(card.getSets().size() - 1).URL);
|
||||||
for (int i = card.getValue().intValue(); i > 0; --i ) {
|
for (int i = card.getValue().intValue(); i > 0; --i ) {
|
||||||
CardPrinted r = card.getKey();
|
CardPrinted r = card.getKey();
|
||||||
String url = NewConstants.URL_PIC_DOWNLOAD + ImageCache.getDownloadUrl(r, false, true);
|
String url = NewConstants.URL_PIC_DOWNLOAD + ImageCache.getDownloadUrl(r, false);
|
||||||
list.add(url);
|
list.add(url);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -48,11 +48,11 @@ public class GuiDownloadSetPicturesLQ extends GuiDownloader {
|
|||||||
// we don't want cards from unknown sets
|
// we don't want cards from unknown sets
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
String url = ImageCache.getDownloadUrl(c, false, true);
|
String url = ImageCache.getDownloadUrl(c, false);
|
||||||
addDLObject(url, ImageCache.getImageKey(c, false, true), downloads);
|
addDLObject(url, ImageCache.getImageKey(c, false, true), downloads);
|
||||||
|
|
||||||
if ( c.getRules().getSplitType() == CardSplitType.Transform ) {
|
if ( c.getRules().getSplitType() == CardSplitType.Transform ) {
|
||||||
String url2 = ImageCache.getDownloadUrl(c, true, true);
|
String url2 = ImageCache.getDownloadUrl(c, true);
|
||||||
addDLObject(url2, ImageCache.getImageKey(c, true, true), downloads);
|
addDLObject(url2, ImageCache.getImageKey(c, true, true), downloads);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user