feat: support mc 1.14.4

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-08-27 09:58:18 +08:00
parent 9946f5caed
commit ecfd140ca8
2 changed files with 149 additions and 147 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<artifactId>Yum</artifactId> <artifactId>Yum</artifactId>
<version>2.8.0</version> <version>2.8.1</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<description>Minecraft 服务器插件管理系统</description> <description>Minecraft 服务器插件管理系统</description>
@ -16,8 +16,9 @@
</parent> </parent>
<properties> <properties>
<update.description>§a补丁包 2.8 版本</update.description> <update.description>§a补丁包 2.8.1 版本</update.description>
<update.changes> <update.changes>
§619-08-26 §cfix: 修复不兼容 1.14.4 的问题;
§619-02-23 §cfix: 修复不兼容 1.13 的问题; §619-02-23 §cfix: 修复不兼容 1.13 的问题;
</update.changes> </update.changes>
<update.changelog> <update.changelog>

View File

@ -24,13 +24,14 @@ public class PluginNetworkEvent extends Event implements Cancellable {
* 插件联网事件 * 插件联网事件
* *
* @param plugin * @param plugin
* 插件 * 插件
* @param url * @param url
* 地址 * 地址
* @param isMainThread * @param isPrimaryThread
* 是否为主线程 * 是否为主线程
*/ */
public PluginNetworkEvent(Plugin plugin, URI url, boolean isPrimaryThread) { public PluginNetworkEvent(Plugin plugin, URI url, boolean isPrimaryThread) {
super(true);
this.plugin = plugin; this.plugin = plugin;
this.url = url; this.url = url;
this.isPrimaryThread = isPrimaryThread; this.isPrimaryThread = isPrimaryThread;
@ -74,7 +75,7 @@ public class PluginNetworkEvent extends Event implements Cancellable {
/** /**
* @param url * @param url
* 设置新的URL地址 * 设置新的URL地址
*/ */
public void setUrl(URI url) { public void setUrl(URI url) {
this.url = url; this.url = url;