Skip to content

Commit

Permalink
还原一个错误修改
Browse files Browse the repository at this point in the history
  • Loading branch information
lt-name committed Nov 21, 2023
1 parent f988289 commit 1e478c9
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@
import java.net.URL;
import java.net.URLClassLoader;
import java.net.URLDecoder;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.concurrent.ForkJoinPool;
import java.util.concurrent.RecursiveAction;
Expand Down Expand Up @@ -50,11 +52,11 @@ public class GameCoreDownload {
ACTUAL_MINIMUM_GAME_CORE_VERSION += "-PM1E";
}

GAME_CORE_URL_LIST = List.of(
GAME_CORE_URL_LIST = Collections.unmodifiableList(Arrays.asList(
getGameCoreUrl(MAVEN_URL_CENTRAL),
getGameCoreUrl(MAVEN_URL_HUAWEI),
getGameCoreUrl(MAVEN_URL_LANINK)
);
));
}

private static String getGameCoreUrl(String mavenUrl) {
Expand Down

0 comments on commit 1e478c9

Please sign in to comment.