Add uuid return to PlayerBanEvent (#4982)
* Update EventType.java * Update Administration.java
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user