aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java
diff options
context:
space:
mode:
authormdxd44 <ogurec332@mail.ru>2022-05-20 02:46:31 +0900
committermdxd44 <ogurec332@mail.ru>2022-05-20 02:46:31 +0900
commit85b5811d3f71928f6f243e039a8bf112c0142b12 (patch)
treef41f7e5a62c9ee48acb76e03549df889e2816b77 /src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java
parent35d932ddfa02e2fc5236dcf07c1606b73b6e3585 (diff)
downloadLimboAuth-85b5811d3f71928f6f243e039a8bf112c0142b12.tar.gz
LimboAuth-85b5811d3f71928f6f243e039a8bf112c0142b12.tar.bz2
LimboAuth-85b5811d3f71928f6f243e039a8bf112c0142b12.zip
Massive code refactor, update dependencies, etc.
Лень фулл писать. Closes #26
Diffstat (limited to 'src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java')
-rw-r--r--src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java b/src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java
index 295c767..e96b0d0 100644
--- a/src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java
+++ b/src/main/java/net/elytrium/limboauth/event/PreAuthorizationEvent.java
@@ -22,15 +22,12 @@ import java.util.function.Consumer;
import net.elytrium.limboauth.model.RegisteredPlayer;
public class PreAuthorizationEvent extends PreEvent {
+
private final RegisteredPlayer playerInfo;
- public PreAuthorizationEvent(Player player, RegisteredPlayer playerInfo, Consumer<TaskEvent> onComplete) {
- super(player, onComplete);
- this.playerInfo = playerInfo;
- }
+ public PreAuthorizationEvent(Consumer<TaskEvent> onComplete, Result result, Player player, RegisteredPlayer playerInfo) {
+ super(onComplete, result, player);
- public PreAuthorizationEvent(Result result, Player player, RegisteredPlayer playerInfo, Consumer<TaskEvent> onComplete) {
- super(result, player, onComplete);
this.playerInfo = playerInfo;
}