mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 04:08:01 +00:00
Fix Meld art download (#7858)
This commit is contained in:
committed by
Hans Mackowiak
parent
53a4a46d1f
commit
c01dfd4740
@@ -193,6 +193,9 @@ public class ImageUtil {
|
||||
if (cp.getRules().getOtherPart() != null) {
|
||||
faceParam = (face.equals("back") ? "&face=back" : "&face=front");
|
||||
}
|
||||
if (cp.getRules().getSplitType() == CardSplitType.Meld) {
|
||||
cardCollectorNumber += face.equals("back") ? "b" : "a";
|
||||
}
|
||||
return String.format("%s/%s/%s?format=image&version=%s%s", editionCode, cardCollectorNumber,
|
||||
langCode, versionParam, faceParam);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user