From f22aa36926ae56a54870152507f3591170c2fc54 Mon Sep 17 00:00:00 2001 From: Gravita <12893402+gravit0@users.noreply.github.com> Date: Tue, 31 Oct 2023 00:14:56 +0700 Subject: [PATCH] [FIX] Support Debug client with memory type --- .../java/pro/gravit/launcher/debug/ClientRuntimeProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher/src/main/java/pro/gravit/launcher/debug/ClientRuntimeProvider.java b/Launcher/src/main/java/pro/gravit/launcher/debug/ClientRuntimeProvider.java index d0e0474e..3fad11ca 100644 --- a/Launcher/src/main/java/pro/gravit/launcher/debug/ClientRuntimeProvider.java +++ b/Launcher/src/main/java/pro/gravit/launcher/debug/ClientRuntimeProvider.java @@ -46,7 +46,7 @@ public void run(String[] args) { if(report.userInfo.accessToken != null) { minecraftAccessToken = report.userInfo.accessToken; } - } else if(password != null) { + } else { AuthRequest request = new AuthRequest(login, password, authId, AuthRequest.ConnectTypes.API); AuthRequestEvent event = request.request(); Request.setOAuth(authId, event.oauth);