Фикс ServerWrapper.cfg

This commit is contained in:
Gravit 2018-10-07 16:25:20 +07:00
parent aedddbff0d
commit ed826472e0
2 changed files with 2 additions and 2 deletions

View file

@ -1,4 +1,4 @@
title: "Technomagic Ааа техно";
title: "xxxx";
customClassLoader: false;
classloader: "ru.gravit.utils.PublicURLClassLoader";
MainClass: "";

View file

@ -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));
}