diff --git a/pom.xml b/pom.xml index f72d744..66da0a7 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 Yum - 2.8.1 + 2.8.2 jar Minecraft 服务器插件管理系统 @@ -16,8 +16,9 @@ - §a补丁包 2.8.1 版本 + §a补丁包 2.8.2 版本 + §619-08-28 §cfix: async event on primary thread §619-08-26 §cfix: 修复不兼容 1.14.4 的问题; §619-02-23 §cfix: 修复不兼容 1.13 的问题; diff --git a/src/main/java/pw/yumc/Yum/events/PluginNetworkEvent.java b/src/main/java/pw/yumc/Yum/events/PluginNetworkEvent.java index feb6d15..a99159e 100644 --- a/src/main/java/pw/yumc/Yum/events/PluginNetworkEvent.java +++ b/src/main/java/pw/yumc/Yum/events/PluginNetworkEvent.java @@ -31,7 +31,7 @@ public class PluginNetworkEvent extends Event implements Cancellable { * 是否为主线程 */ public PluginNetworkEvent(Plugin plugin, URI url, boolean isPrimaryThread) { - super(true); + super(!isPrimaryThread); this.plugin = plugin; this.url = url; this.isPrimaryThread = isPrimaryThread;