cut: MCBBS game download source (#5235)

Co-authored-by: MovTery <123115192+HopiHopy@users.noreply.github.com>
This commit is contained in:
Vetormy 2024-04-03 04:12:32 +08:00 committed by GitHub
parent dda7a4e45c
commit cf788d8e73
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 8 deletions

View File

@ -24,11 +24,6 @@ public class DownloadMirror {
"https://bmclapi2.bangbang93.com",
"https://bmclapi2.bangbang93.com/assets"
};
private static final String[] MIRROR_MCBBS = {
"https://download.mcbbs.net/maven",
"https://download.mcbbs.net",
"https://download.mcbbs.net/assets"
};
/**
* Download a file with the current mirror. If the file is missing on the mirror,
@ -83,7 +78,6 @@ public class DownloadMirror {
private static String[] getMirrorSettings() {
switch (LauncherPreferences.PREF_DOWNLOAD_SOURCE) {
case "mcbbs": return MIRROR_MCBBS;
case "bmclapi": return MIRROR_BMCLAPI;
case "default":
default:

View File

@ -43,12 +43,10 @@
<string-array name="download_source_names">
<item>@string/global_default</item>
<item>BMCLAPI</item>
<item>MCBBS</item>
</string-array>
<string-array name="download_source_values">
<item>default</item>
<item>bmclapi</item>
<item>mcbbs</item>
</string-array>
</resources>