diff --git a/src/main/java/com/mohistmc/network/download/DownloadSource.java b/src/main/java/com/mohistmc/network/download/DownloadSource.java index d5ecab8c86..d2d79001e1 100644 --- a/src/main/java/com/mohistmc/network/download/DownloadSource.java +++ b/src/main/java/com/mohistmc/network/download/DownloadSource.java @@ -12,7 +12,7 @@ public enum DownloadSource { MOHIST("https://maven.mohistmc.com/"), - CHINA("http://s1.devicloud.cn:25119/"), + CHINA("https://libraries.mohistmc.cn:25119/releases/"), GITHUB("https://mohistmc.github.io/maven/"); public static final DownloadSource defaultSource = Message.isCN() ? CHINA : MOHIST; @@ -26,7 +26,7 @@ public static DownloadSource get() { String ds = MohistConfigUtil.sMohist("libraries_downloadsource", defaultSource.name()); for (DownloadSource me : DownloadSource.values()) { if (me.name().equalsIgnoreCase(ds)) { - if (isDown(me.url) != 200) return GITHUB; + if (isDown(me.url.replace("releases/", "")) != 200) return GITHUB; return me; } }