Skip to content

Commit

Permalink
[6.1.0] 修复本地测试异常
Browse files Browse the repository at this point in the history
  • Loading branch information
Bkm016 committed Jan 27, 2024
1 parent c3a3380 commit df4cd92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/src/main/java/taboolib/common/PrimitiveLoader.java
Original file line number Diff line number Diff line change
Expand Up @@ -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);
// 获取地址
Expand Down

0 comments on commit df4cd92

Please sign in to comment.