Add uuid return to PlayerBanEvent (#4982)

* Update EventType.java

* Update Administration.java
This commit is contained in:
키에르
2021-03-24 23:02:21 +09:00
committed by GitHub
parent 268672adb8
commit a40731624a
2 changed files with 8 additions and 4 deletions

View File

@@ -421,18 +421,22 @@ public class EventType{
public static class PlayerBanEvent{
@Nullable
public final Player player;
public final String uuid;
public PlayerBanEvent(Player player){
public PlayerBanEvent(Player player, String uuid){
this.player = player;
this.uuid = uuid;
}
}
public static class PlayerUnbanEvent{
@Nullable
public final Player player;
public final String uuid;
public PlayerUnbanEvent(Player player){
public PlayerUnbanEvent(Player player, String uuid){
this.player = player;
this.uuid = uuid;
}
}