From 98b1e98176869aec3d4967797ab26fd5fc8e98d3 Mon Sep 17 00:00:00 2001 From: Mgazul Date: Mon, 27 May 2024 18:36:05 +0800 Subject: [PATCH] remove CN --- src/main/java/com/mohistmc/libraries/DefaultLibraries.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/mohistmc/libraries/DefaultLibraries.java b/src/main/java/com/mohistmc/libraries/DefaultLibraries.java index c167842b45..00a89c8ea9 100644 --- a/src/main/java/com/mohistmc/libraries/DefaultLibraries.java +++ b/src/main/java/com/mohistmc/libraries/DefaultLibraries.java @@ -21,7 +21,7 @@ public class DefaultLibraries { public static void loadDefaultLibs() throws Exception { System.out.println(i18n.get("libraries.checking.start")); - String url = mirror.equals("") ? (i18n.isLang("CN") ? "https://libraries.mohistmc.cn:25119/releases/" : "https://maven.mohistmc.com/") : mirror; + String url = mirror.isEmpty() ? "https://maven.mohistmc.com/" : mirror; LinkedHashMap libs = getDefaultLibs(); AtomicLong currentSize = new AtomicLong(); Set defaultLibs = new LinkedHashSet<>();