1
0
mirror of https://e.coding.net/circlecloud/MiaoBoard.git synced 2025-12-25 02:26:17 +00:00

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

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

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;
}