diff options
author | Petr Ilin <hevav@hevav.dev> | 2022-03-30 22:02:37 +0300 |
---|---|---|
committer | Petr Ilin <hevav@hevav.dev> | 2022-03-30 22:02:37 +0300 |
commit | e97c8c77e014e1ef9b61a3879b53e94e152b4093 (patch) | |
tree | 338ab42951e550985167e408336d136e8073a3c6 /src/main/java/net/elytrium/limboauth/event/PreEvent.java | |
parent | a9bfef6c01b987b6e3639b1988f3a0bbd3b98b48 (diff) | |
download | LimboAuth-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.java | 5 |
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; } |