mirror of
https://github.com/magefree/mage.git
synced 2025-12-24 12:31:59 -08:00
Some minor changes.
This commit is contained in:
parent
1b45c997aa
commit
6bd17716cd
2 changed files with 5 additions and 5 deletions
|
|
@ -28,8 +28,6 @@
|
|||
|
||||
package org.mage.plugins.card.dl.sources;
|
||||
|
||||
import java.net.URLEncoder;
|
||||
import mage.cards.SplitCard;
|
||||
import org.mage.plugins.card.images.CardDownloadData;
|
||||
|
||||
/**
|
||||
|
|
@ -56,7 +54,7 @@ public class MtgImageSource implements CardImageSource {
|
|||
throw new Exception("Wrong parameters for image: collector id: " + collectorId + ",card set: " + cardSet);
|
||||
}
|
||||
StringBuilder url = new StringBuilder("http://mtgimage.com/set/");
|
||||
url.append(cardSet.toUpperCase()).append("/");
|
||||
url.append(cardSet.toUpperCase()).append("/");
|
||||
|
||||
if (card.isSplitCard()) {
|
||||
url.append(card.getDownloadName().replaceAll(" // ", ""));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue