feat: 更新记分板改为异步事件

Signed-off-by: 502647092 <admin@yumc.pw>
merge/8/HEAD
502647092 2017-08-17 14:53:24 +08:00
parent a64a8ce85a
commit 840c42d39c
3 changed files with 6 additions and 2 deletions

View File

@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>pw.yumc</groupId>
<artifactId>MiaoBoard</artifactId>
<version>2.3.6</version>
<version>2.3.7</version>
<description>喵式记分板</description>
<build>
<finalName>${project.artifactId}</finalName>
@ -71,8 +71,9 @@
<url>http://ci.yumc.pw/job/${project.artifactId}/</url>
</ciManagement>
<properties>
<update.description>§a正式版本 2.3.6</update.description>
<update.description>§a正式版本 2.3.7</update.description>
<update.changes>
§617-08-15 §cfix: 修复事件未标记为异步的问题;
§617-06-28 §cfix: 修复T端不兼容的问题;
§617-03-09 §cfix: 修复行更新错误;
§617-03-09 §afeat: 添加记分板更新事件

View File

@ -16,6 +16,7 @@ public class BodyUpdateEvent extends Event {
private List<String> 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;
}
}

View File

@ -13,6 +13,7 @@ public class TitleUpdateEvent extends Event {
private String title;
public TitleUpdateEvent(Player player) {
super(true);
this.player = player;
}