mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-17 03:08:02 +00:00
Removed token image fetch attempt from old server (#7287)
This commit is contained in:
@@ -29,7 +29,7 @@ public class SwingImageFetcher extends ImageFetcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean doFetch(String urlToDownload) throws IOException {
|
private boolean doFetch(String urlToDownload) throws IOException {
|
||||||
if (disableHostedDownload && urlToDownload.startsWith(ForgeConstants.URL_CARDFORGE) && !urlToDownload.contains("tokens")) {
|
if (disableHostedDownload && urlToDownload.startsWith(ForgeConstants.URL_CARDFORGE)) {
|
||||||
// Don't try to download card images from cardforge servers
|
// Don't try to download card images from cardforge servers
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ public class LibGDXImageFetcher extends ImageFetcher {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private boolean doFetch(String urlToDownload) throws IOException {
|
private boolean doFetch(String urlToDownload) throws IOException {
|
||||||
if (disableHostedDownload && urlToDownload.startsWith(ForgeConstants.URL_CARDFORGE) && !urlToDownload.contains("tokens")) {
|
if (disableHostedDownload && urlToDownload.startsWith(ForgeConstants.URL_CARDFORGE)) {
|
||||||
// Don't try to download card images from cardforge servers
|
// Don't try to download card images from cardforge servers
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user