[FIX] Фикс mojang авторизации (портирован)

This commit is contained in:
Gravit 2019-10-21 22:57:37 +07:00
parent 897f799aac
commit a1e6c80894
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -21,7 +21,7 @@ public final class JoinServerRequest extends Request<JoinServerRequestEvent> imp
@LauncherAPI @LauncherAPI
public JoinServerRequest(String username, String accessToken, String serverID) { public JoinServerRequest(String username, String accessToken, String serverID) {
this.username = VerifyHelper.verifyUsername(username); this.username = VerifyHelper.verifyUsername(username);
this.accessToken = SecurityHelper.verifyToken(accessToken); this.accessToken = accessToken;
this.serverID = VerifyHelper.verifyServerID(serverID); this.serverID = VerifyHelper.verifyServerID(serverID);
} }