[FIX] Испралвение авторизации с включенным ProGuard

This commit is contained in:
Gravit 2019-06-28 14:23:12 +07:00
parent 5192641e0b
commit 2a56594534
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -14,8 +14,6 @@ public class AuthRequestEvent extends RequestEvent implements EventInterface {
public AuthRequestEvent() {
}
@LauncherNetworkAPI
public String error;
@LauncherNetworkAPI
public ClientPermissions permissions;
@LauncherNetworkAPI
@ -40,8 +38,7 @@ public AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfi
this.protectToken = protectToken;
}
public AuthRequestEvent(String error, ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken, long session) {
this.error = error;
public AuthRequestEvent(ClientPermissions permissions, PlayerProfile playerProfile, String accessToken, String protectToken, long session) {
this.permissions = permissions;
this.playerProfile = playerProfile;
this.accessToken = accessToken;