Removed token image fetch attempt from old server (#7287)

This commit is contained in:
HeitorBittenc
2025-03-29 13:01:29 -03:00
committed by GitHub
parent 7fdd645026
commit e722c4b63c
2 changed files with 2 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ public class SwingImageFetcher extends ImageFetcher {
}
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
return false;
}

View File

@@ -30,7 +30,7 @@ public class LibGDXImageFetcher extends ImageFetcher {
}
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
return false;
}