From ed826472e0cb3c4e78686e30ae5dfb245a576076 Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 7 Oct 2018 16:25:20 +0700 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81=20ServerWrapper.cfg?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/ru/gravit/launcher/server/ServerWrapper.cfg | 2 +- .../src/main/java/ru/gravit/launcher/server/ServerWrapper.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ServerWrapper/resources/ru/gravit/launcher/server/ServerWrapper.cfg b/ServerWrapper/resources/ru/gravit/launcher/server/ServerWrapper.cfg index aabc1e7b..9250a4d4 100644 --- a/ServerWrapper/resources/ru/gravit/launcher/server/ServerWrapper.cfg +++ b/ServerWrapper/resources/ru/gravit/launcher/server/ServerWrapper.cfg @@ -1,4 +1,4 @@ -title: "Technomagic Ааа техно"; +title: "xxxx"; customClassLoader: false; classloader: "ru.gravit.utils.PublicURLClassLoader"; MainClass: ""; 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 ecd42fd5..cf85dc53 100644 --- a/ServerWrapper/src/main/java/ru/gravit/launcher/server/ServerWrapper.java +++ b/ServerWrapper/src/main/java/ru/gravit/launcher/server/ServerWrapper.java @@ -82,7 +82,7 @@ private static void generateConfigIfNotExists() throws IOException { // Create new config LogHelper.info("Creating LaunchWrapper config"); Config newConfig; - try (BufferedReader reader = IOHelper.newReader(IOHelper.getResourceURL("ru/gravit/launcher/server/config.cfg"))) { + try (BufferedReader reader = IOHelper.newReader(IOHelper.getResourceURL("ru/gravit/launcher/server/ServerWrapper.cfg"))) { newConfig = new Config(TextConfigReader.read(reader, false)); }