aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/event/PreEvent.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/PreEvent.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/PreEvent.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/event/PreEvent.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/net/elytrium/limboauth/event/PreEvent.java b/src/main/java/net/elytrium/limboauth/event/PreEvent.java
index 45bb37d..55bf4d3 100644
--- a/src/main/java/net/elytrium/limboauth/event/PreEvent.java
+++ b/src/main/java/net/elytrium/limboauth/event/PreEvent.java
@@ -28,6 +28,11 @@ public abstract class PreEvent extends TaskEvent {
this.player = player;
}
+ protected PreEvent(Result result, Player player, Consumer<TaskEvent> onComplete) {
+ super(result, onComplete);
+ this.player = player;
+ }
+
public Player getPlayer() {
return this.player;
}