mirror of
https://e.coding.net/circlecloud/MiaoBoard.git
synced 2024-11-22 01:49:05 +00:00
feat: 更新记分板改为异步事件
Signed-off-by: 502647092 <admin@yumc.pw>
This commit is contained in:
parent
a64a8ce85a
commit
840c42d39c
5
pom.xml
5
pom.xml
@ -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: 添加记分板更新事件
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -13,6 +13,7 @@ public class TitleUpdateEvent extends Event {
|
||||
private String title;
|
||||
|
||||
public TitleUpdateEvent(Player player) {
|
||||
super(true);
|
||||
this.player = player;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user