Фиксы SetProfileRequest

This commit is contained in:
Gravit 2018-11-04 12:03:17 +07:00
parent d845b73c85
commit c472e8d033
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
2 changed files with 3 additions and 0 deletions

View file

@ -30,6 +30,7 @@ public void reply() throws Exception {
return;
}
clientData.profile = p.object;
writeNoError(output);
output.writeBoolean(true);
break;
}

View file

@ -21,6 +21,7 @@
import ru.gravit.launcher.hasher.HashedDir;
import ru.gravit.launcher.hasher.HashedEntry;
import ru.gravit.launcher.hasher.HashedFile;
import ru.gravit.launcher.request.auth.SetProfileRequest;
import ru.gravit.launcher.request.update.LauncherRequest;
import ru.gravit.launcher.request.update.ProfilesRequest;
import ru.gravit.utils.HTTPRequest;
@ -89,6 +90,7 @@ public static void addLauncherClassBindings(Map<String, Object> bindings) {
bindings.put("CheckServerRequestClass", CheckServerRequest.class);
bindings.put("UpdateRequestClass", UpdateRequest.class);
bindings.put("LauncherRequestClass", LauncherRequest.class);
bindings.put("SetProfileRequestClass", SetProfileRequest.class);
bindings.put("ProfilesRequestClass", ProfilesRequest.class);
bindings.put("ProfileByUsernameRequestClass", ProfileByUsernameRequest.class);
bindings.put("ProfileByUUIDRequestClass", ProfileByUUIDRequest.class);