From df4cd92c5934753f2231e3a91ed976a38daa0860 Mon Sep 17 00:00:00 2001 From: Bkm016 Date: Sat, 27 Jan 2024 18:57:39 +0800 Subject: [PATCH] =?UTF-8?q?[6.1.0]=20=E4=BF=AE=E5=A4=8D=E6=9C=AC=E5=9C=B0?= =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/src/main/java/taboolib/common/PrimitiveLoader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/src/main/java/taboolib/common/PrimitiveLoader.java b/common/src/main/java/taboolib/common/PrimitiveLoader.java index 39fe9a91a..47a151831 100644 --- a/common/src/main/java/taboolib/common/PrimitiveLoader.java +++ b/common/src/main/java/taboolib/common/PrimitiveLoader.java @@ -98,7 +98,7 @@ public static boolean load(String repo, String group, String name, String versio File envFile = new File(getLibraryFile(), String.format("%s/%s/%s-%s.jar", group.replace(".", "/"), name, name, version)); File shaFile = new File(getLibraryFile(), String.format("%s/%s/%s-%s.jar.sha1", group.replace(".", "/"), name, name, version)); // 检查文件有效性 - if (!PrimitiveIO.validation(envFile, shaFile) || (IS_FORCE_DOWNLOAD_IN_DEV_MODE && IS_DEV_MODE)) { + if (!PrimitiveIO.validation(envFile, shaFile) || (IS_FORCE_DOWNLOAD_IN_DEV_MODE && IS_DEV_MODE && group.equals(TABOOLIB_GROUP))) { try { PrimitiveIO.println("Downloading library %s:%s:%s", group, name, version); // 获取地址