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);