From c9465d89f58940a5a30eeeea5337fd369428c1c1 Mon Sep 17 00:00:00 2001 From: zkitefly Date: Thu, 6 Jul 2023 23:23:10 +0800 Subject: [PATCH] Fix #2335 (#2336) * Fix #2335 https://github.com/zkitefly/PCL2/blob/log/Plain%20Craft%20Launcher%202/Modules/Minecraft/ModMinecraft.vb#L2043-L2059 * Update Constants.java --- HMCLCore/src/main/java/org/jackhuang/hmcl/util/Constants.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/Constants.java b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/Constants.java index 6f0fc7195..55717ea90 100644 --- a/HMCLCore/src/main/java/org/jackhuang/hmcl/util/Constants.java +++ b/HMCLCore/src/main/java/org/jackhuang/hmcl/util/Constants.java @@ -28,6 +28,6 @@ public final class Constants { } public static final String DEFAULT_LIBRARY_URL = "https://libraries.minecraft.net/"; - public static final String DEFAULT_VERSION_DOWNLOAD_URL = "https://s3.amazonaws.com/Minecraft.Download/versions/"; - public static final String DEFAULT_INDEX_URL = "https://s3.amazonaws.com/Minecraft.Download/indexes/"; + public static final String DEFAULT_VERSION_DOWNLOAD_URL = "https://bmclapi2.bangbang93.com/versions/"; + public static final String DEFAULT_INDEX_URL = "https://launchermeta.mojang.com/mc-staging/assets/legacy/c0fd82e8ce9fbc93119e40d96d5a4e62cfa3f729/"; }