From 96167e81a3e64569f63969f727545ab1a6442e3c Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 24 Sep 2018 19:02:04 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A5=D0=BE=D1=82=20=D1=84=D0=B8=D0=BA=D1=81?= =?UTF-8?q?=20=D0=B4=D0=BB=D1=8F=20ServerWrapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launcher/server/ServerWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Launcher/src/main/java/ru/gravit/launcher/server/ServerWrapper.java b/Launcher/src/main/java/ru/gravit/launcher/server/ServerWrapper.java index 4851f1e6..dd7ccd6a 100644 --- a/Launcher/src/main/java/ru/gravit/launcher/server/ServerWrapper.java +++ b/Launcher/src/main/java/ru/gravit/launcher/server/ServerWrapper.java @@ -45,7 +45,7 @@ public static void main(String[] args) throws Throwable { ProfilesRequest.Result result = new ProfilesRequest(cfg).request(); for (SignedObjectHolder p : result.profiles) { 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; ClientLauncher.setProfile(p.object); LogHelper.debug("Found profile: %s", ClientLauncher.profile.getTitle());