AdminRequestEvent (#6198)

* AdminRequest event

* Lol

* Revert
This commit is contained in:
Darkness#3729
2021-10-21 16:38:28 +03:00
committed by GitHub
parent 699364580e
commit b19eb3fc04
2 changed files with 14 additions and 1 deletions

View File

@@ -544,4 +544,15 @@ public class EventType{
}
}
public static class AdminRequestEvent{
public final Player player;
public final @Nullable Player other;
public final AdminAction action;
public AdminRequestEvent(Player player, Player other, AdminAction action){
this.player = player;
this.other = other;
this.action = action;
}
}
}