From fd957007fdcac5d01e24ec34cc04a0891092bdcb Mon Sep 17 00:00:00 2001 From: AlexProgrammerDE <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Mon, 1 Jul 2024 15:51:52 +0200 Subject: [PATCH] Cleanup --- .../session/PendingMicrosoftAuthentication.java | 16 ---------------- gradle/libs.versions.toml | 2 +- 2 files changed, 1 insertion(+), 17 deletions(-) diff --git a/core/src/main/java/org/geysermc/geyser/session/PendingMicrosoftAuthentication.java b/core/src/main/java/org/geysermc/geyser/session/PendingMicrosoftAuthentication.java index 97012572c..f10a11b3e 100644 --- a/core/src/main/java/org/geysermc/geyser/session/PendingMicrosoftAuthentication.java +++ b/core/src/main/java/org/geysermc/geyser/session/PendingMicrosoftAuthentication.java @@ -40,11 +40,9 @@ import org.checkerframework.checker.nullness.qual.NonNull; import org.geysermc.geyser.GeyserImpl; import org.geysermc.geyser.GeyserLogger; -import java.io.Serial; import java.util.concurrent.*; import java.util.function.BiFunction; import java.util.function.Consumer; -import java.util.function.Function; /** * Pending Microsoft authentication task cache. @@ -151,18 +149,4 @@ public class PendingMicrosoftAuthentication { super(userKey, timeoutSec); } } - - /** - * @see PendingMicrosoftAuthentication - */ - public static class TaskTimeoutException extends Exception { - - @Serial - private static final long serialVersionUID = 1L; - - TaskTimeoutException() { - super("It took too long to authorize Geyser to access your Microsoft account. " + - "Please request new code and try again."); - } - } } diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 07a557873..4a526ad23 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -12,7 +12,7 @@ gson = "2.3.1" # Provided by Spigot 1.8.8 websocket = "1.5.1" protocol = "3.0.0.Beta2-20240616.144648-10" raknet = "1.0.0.CR3-20240416.144209-1" -minecraftauth = "4.0.2" +minecraftauth = "4.0.3-SNAPSHOT" mcprotocollib = "1.21-20240618.151504-8" adventure = "4.14.0" adventure-platform = "4.3.0"