From 840c42d39c7846b314d236865cb800c5568a0b32 Mon Sep 17 00:00:00 2001 From: 502647092 Date: Thu, 17 Aug 2017 14:53:24 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E8=AE=B0=E5=88=86?= =?UTF-8?q?=E6=9D=BF=E6=94=B9=E4=B8=BA=E5=BC=82=E6=AD=A5=E4=BA=8B=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 502647092 --- pom.xml | 5 +++-- src/main/java/pw/yumc/MiaoBoard/event/BodyUpdateEvent.java | 2 ++ src/main/java/pw/yumc/MiaoBoard/event/TitleUpdateEvent.java | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/pom.xml b/pom.xml index 8ff30b6..7d07bae 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ 4.0.0 pw.yumc MiaoBoard - 2.3.6 + 2.3.7 喵式记分板 ${project.artifactId} @@ -71,8 +71,9 @@ http://ci.yumc.pw/job/${project.artifactId}/ - §a正式版本 2.3.6 + §a正式版本 2.3.7 + §617-08-15 §cfix: 修复事件未标记为异步的问题; §617-06-28 §cfix: 修复T端不兼容的问题; §617-03-09 §cfix: 修复行更新错误; §617-03-09 §afeat: 添加记分板更新事件 diff --git a/src/main/java/pw/yumc/MiaoBoard/event/BodyUpdateEvent.java b/src/main/java/pw/yumc/MiaoBoard/event/BodyUpdateEvent.java index 10faf8e..2a0c578 100644 --- a/src/main/java/pw/yumc/MiaoBoard/event/BodyUpdateEvent.java +++ b/src/main/java/pw/yumc/MiaoBoard/event/BodyUpdateEvent.java @@ -16,6 +16,7 @@ public class BodyUpdateEvent extends Event { private List body = Collections.emptyList(); public BodyUpdateEvent(Player player) { + super(true); this.player = player; } @@ -42,4 +43,5 @@ public class BodyUpdateEvent extends Event { public HandlerList getHandlers() { return handlerList; } + } diff --git a/src/main/java/pw/yumc/MiaoBoard/event/TitleUpdateEvent.java b/src/main/java/pw/yumc/MiaoBoard/event/TitleUpdateEvent.java index 4b8eef5..c46c5bf 100644 --- a/src/main/java/pw/yumc/MiaoBoard/event/TitleUpdateEvent.java +++ b/src/main/java/pw/yumc/MiaoBoard/event/TitleUpdateEvent.java @@ -13,6 +13,7 @@ public class TitleUpdateEvent extends Event { private String title; public TitleUpdateEvent(Player player) { + super(true); this.player = player; }