diff --git a/ServerWrapper/src/main/java/ru/gravit/launcher/server/ServerWrapper.java b/ServerWrapper/src/main/java/ru/gravit/launcher/server/ServerWrapper.java index 15710be1..84e30c5d 100644 --- a/ServerWrapper/src/main/java/ru/gravit/launcher/server/ServerWrapper.java +++ b/ServerWrapper/src/main/java/ru/gravit/launcher/server/ServerWrapper.java @@ -172,7 +172,7 @@ public void run(String... args) throws Throwable { auth(); }; } - LogHelper.info("ServerWrapper: Project %s, LaunchServer address: %s. Title: %s", config.projectname, config.websocket.address, config.title); + LogHelper.info("ServerWrapper: LaunchServer address: %s. Title: %s", config.websocket.address, config.title); LogHelper.info("Minecraft Version (for profile): %s", wrapper.profile == null ? "unknown" : wrapper.profile.getVersion().name); LogHelper.info("Start Minecraft Server"); LogHelper.debug("Invoke main method %s", mainClass.getName()); @@ -193,7 +193,7 @@ public void updateLauncherConfig() { LauncherConfig cfg = null; try { - cfg = new LauncherConfig(config.websocket.address, SecurityHelper.toPublicRSAKey(IOHelper.read(publicKeyFile)), new HashMap<>(), config.projectname); + cfg = new LauncherConfig(config.websocket.address, SecurityHelper.toPublicRSAKey(IOHelper.read(publicKeyFile)), new HashMap<>()); if(config.websocket != null && config.websocket.enabled) { cfg.isNettyEnabled = true; @@ -221,7 +221,6 @@ public Config getConfig() { public Config getDefaultConfig() { Config newConfig = new Config(); newConfig.title = "Your profile title"; - newConfig.projectname = "MineCraft"; newConfig.login = "login"; newConfig.password = "password"; newConfig.mainclass = ""; @@ -243,7 +242,6 @@ public void setConfig(Config config) { public static final class Config { public String title; - public String projectname; public WebSocketConf websocket; public int reconnectCount; public int reconnectSleep;