mirror of
https://github.com/GravitLauncher/Launcher
synced 2025-03-30 21:18:17 +03:00
[FIX] Support Debug client with memory type
This commit is contained in:
parent
198ce95176
commit
f22aa36926
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ public void run(String[] args) {
|
||||||
if(report.userInfo.accessToken != null) {
|
if(report.userInfo.accessToken != null) {
|
||||||
minecraftAccessToken = report.userInfo.accessToken;
|
minecraftAccessToken = report.userInfo.accessToken;
|
||||||
}
|
}
|
||||||
} else if(password != null) {
|
} else {
|
||||||
AuthRequest request = new AuthRequest(login, password, authId, AuthRequest.ConnectTypes.API);
|
AuthRequest request = new AuthRequest(login, password, authId, AuthRequest.ConnectTypes.API);
|
||||||
AuthRequestEvent event = request.request();
|
AuthRequestEvent event = request.request();
|
||||||
Request.setOAuth(authId, event.oauth);
|
Request.setOAuth(authId, event.oauth);
|
||||||
|
|
Loading…
Reference in a new issue