mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
Хот фикс для ServerWrapper
This commit is contained in:
parent
e80551e108
commit
96167e81a3
1 changed files with 1 additions and 1 deletions
|
@ -45,7 +45,7 @@ public static void main(String[] args) throws Throwable {
|
||||||
ProfilesRequest.Result result = new ProfilesRequest(cfg).request();
|
ProfilesRequest.Result result = new ProfilesRequest(cfg).request();
|
||||||
for (SignedObjectHolder<ClientProfile> p : result.profiles) {
|
for (SignedObjectHolder<ClientProfile> p : result.profiles) {
|
||||||
LogHelper.debug("Get profile: %s", p.object.getTitle());
|
LogHelper.debug("Get profile: %s", p.object.getTitle());
|
||||||
if (p.object.getTitle().equals(ClientLauncher.profile.getTitle())) {
|
if (p.object.getTitle().equals(config.title)) {
|
||||||
wrapper.profile = p.object;
|
wrapper.profile = p.object;
|
||||||
ClientLauncher.setProfile(p.object);
|
ClientLauncher.setProfile(p.object);
|
||||||
LogHelper.debug("Found profile: %s", ClientLauncher.profile.getTitle());
|
LogHelper.debug("Found profile: %s", ClientLauncher.profile.getTitle());
|
||||||
|
|
Loading…
Reference in a new issue