aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/event/PostEvent.java
diff options
context:
space:
mode:
authorPetr Ilin <hevav@hevav.dev>2022-03-30 22:02:37 +0300
committerPetr Ilin <hevav@hevav.dev>2022-03-30 22:02:37 +0300
commite97c8c77e014e1ef9b61a3879b53e94e152b4093 (patch)
tree338ab42951e550985167e408336d136e8073a3c6 /src/main/java/net/elytrium/limboauth/event/PostEvent.java
parenta9bfef6c01b987b6e3639b1988f3a0bbd3b98b48 (diff)
downloadLimboAuth-e97c8c77e014e1ef9b61a3879b53e94e152b4093.tar.gz
LimboAuth-e97c8c77e014e1ef9b61a3879b53e94e152b4093.tar.bz2
LimboAuth-e97c8c77e014e1ef9b61a3879b53e94e152b4093.zip
TaskEvent fixes
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/event/PostEvent.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/event/PostEvent.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/event/PostEvent.java b/src/main/java/net/elytrium/limboauth/event/PostEvent.java
index 68932ef..2d5b4fb 100644
--- a/src/main/java/net/elytrium/limboauth/event/PostEvent.java
+++ b/src/main/java/net/elytrium/limboauth/event/PostEvent.java
@@ -33,6 +33,13 @@ public abstract class PostEvent extends TaskEvent {
this.playerInfo = playerInfo;
}
+ protected PostEvent(Result result, LimboPlayer player, RegisteredPlayer playerInfo, Consumer<TaskEvent> onComplete) {
+ super(result, onComplete);
+
+ this.player = player;
+ this.playerInfo = playerInfo;
+ }
+
public RegisteredPlayer getPlayerInfo() {
return this.playerInfo;
}