Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-11-19 14:30:17 +01:00
Cleanup
Dieser Commit ist enthalten in:
Ursprung
adff671088
Commit
fd957007fd
@ -40,11 +40,9 @@ import org.checkerframework.checker.nullness.qual.NonNull;
|
|||||||
import org.geysermc.geyser.GeyserImpl;
|
import org.geysermc.geyser.GeyserImpl;
|
||||||
import org.geysermc.geyser.GeyserLogger;
|
import org.geysermc.geyser.GeyserLogger;
|
||||||
|
|
||||||
import java.io.Serial;
|
|
||||||
import java.util.concurrent.*;
|
import java.util.concurrent.*;
|
||||||
import java.util.function.BiFunction;
|
import java.util.function.BiFunction;
|
||||||
import java.util.function.Consumer;
|
import java.util.function.Consumer;
|
||||||
import java.util.function.Function;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Pending Microsoft authentication task cache.
|
* Pending Microsoft authentication task cache.
|
||||||
@ -151,18 +149,4 @@ public class PendingMicrosoftAuthentication {
|
|||||||
super(userKey, timeoutSec);
|
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.");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -12,7 +12,7 @@ gson = "2.3.1" # Provided by Spigot 1.8.8
|
|||||||
websocket = "1.5.1"
|
websocket = "1.5.1"
|
||||||
protocol = "3.0.0.Beta2-20240616.144648-10"
|
protocol = "3.0.0.Beta2-20240616.144648-10"
|
||||||
raknet = "1.0.0.CR3-20240416.144209-1"
|
raknet = "1.0.0.CR3-20240416.144209-1"
|
||||||
minecraftauth = "4.0.2"
|
minecraftauth = "4.0.3-SNAPSHOT"
|
||||||
mcprotocollib = "1.21-20240618.151504-8"
|
mcprotocollib = "1.21-20240618.151504-8"
|
||||||
adventure = "4.14.0"
|
adventure = "4.14.0"
|
||||||
adventure-platform = "4.3.0"
|
adventure-platform = "4.3.0"
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren