From 07522a7d8f908e0b631eda5362582f209959cf1b Mon Sep 17 00:00:00 2001 From: AlexProgrammerDE <40795980+AlexProgrammerDE@users.noreply.github.com> Date: Thu, 20 Jun 2024 22:31:28 +0200 Subject: [PATCH] Fix offline access order --- .../geysermc/geyser/session/PendingMicrosoftAuthentication.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 c276caf1c..11d0b35be 100644 --- a/core/src/main/java/org/geysermc/geyser/session/PendingMicrosoftAuthentication.java +++ b/core/src/main/java/org/geysermc/geyser/session/PendingMicrosoftAuthentication.java @@ -54,7 +54,7 @@ public class PendingMicrosoftAuthentication { public static final HttpClient AUTH_CLIENT = MinecraftAuth.createHttpClient(); public static final BiFunction AUTH_FLOW = (offlineAccess, timeoutSec) -> MinecraftAuth.builder() .withClientId(GeyserImpl.OAUTH_CLIENT_ID) - .withScope(offlineAccess ? "XboxLive.signin" : "XboxLive.signin XboxLive.offline_access") + .withScope(offlineAccess ? "XboxLive.signin XboxLive.offline_access" : "XboxLive.signin") .withTimeout(timeoutSec) .deviceCode() .withoutDeviceToken()