[FIX] Support Debug client with memory type

This commit is contained in:
Gravita 2023-10-31 00:14:56 +07:00
parent 198ce95176
commit f22aa36926

View file

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