diff options
author | Petr Ilin <hevav@hevav.dev> | 2022-03-28 00:50:03 +0300 |
---|---|---|
committer | Petr Ilin <hevav@hevav.dev> | 2022-03-28 00:50:03 +0300 |
commit | 334bcd43152c2650365b79813ffc4e4f4d4ae16b (patch) | |
tree | c2b45b45c988f25ae49582b747d146470a15aa4a /src/main/java/net/elytrium/limboauth/event/PreEvent.java | |
parent | 5b7b05f69414e9b1fa0f2784ce93255dd02b2cec (diff) | |
download | LimboAuth-334bcd43152c2650365b79813ffc4e4f4d4ae16b.tar.gz LimboAuth-334bcd43152c2650365b79813ffc4e4f4d4ae16b.tar.bz2 LimboAuth-334bcd43152c2650365b79813ffc4e4f4d4ae16b.zip |
More events
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, 3 insertions, 2 deletions
diff --git a/src/main/java/net/elytrium/limboauth/event/PreEvent.java b/src/main/java/net/elytrium/limboauth/event/PreEvent.java index 08f9b6b..45bb37d 100644 --- a/src/main/java/net/elytrium/limboauth/event/PreEvent.java +++ b/src/main/java/net/elytrium/limboauth/event/PreEvent.java @@ -18,12 +18,13 @@ package net.elytrium.limboauth.event; import com.velocitypowered.api.proxy.Player; +import java.util.function.Consumer; public abstract class PreEvent extends TaskEvent { private final Player player; - protected PreEvent(Player player) { - super(); + protected PreEvent(Player player, Consumer<TaskEvent> onComplete) { + super(onComplete); this.player = player; } |