From 94d677fe1e2ded7198377105d656fd21ce849c4e Mon Sep 17 00:00:00 2001 From: Gravit Date: Sun, 10 Mar 2019 16:17:19 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=9D=D0=B5=D0=BA=D0=BE=D1=80=D1=80?= =?UTF-8?q?=D0=B5=D0=BA=D1=82=D0=BD=D0=B0=D1=8F=20=D0=B8=D0=BD=D0=B8=D1=86?= =?UTF-8?q?=D0=B8=D0=B0=D0=BB=D0=B8=D0=B7=D0=B0=D1=86=D0=B8=D1=8F=20=D0=BA?= =?UTF-8?q?=D0=BB=D0=B8=D0=B5=D0=BD=D1=81=D0=BA=D0=B8=D1=85=20=D0=BC=D0=BE?= =?UTF-8?q?=D0=B4=D1=83=D0=BB=D0=B5=D0=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/ru/gravit/launchserver/binary/JAConfigurator.java | 2 +- .../java/ru/gravit/launcher/managers/SimpleModuleManager.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java index d6d683c0..e4280842 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/binary/JAConfigurator.java @@ -36,7 +36,7 @@ public void addModuleClass(String fullName) { moduleBody.append("();"); moduleBody.append("ru.gravit.launcher.Launcher.modulesManager.registerModule( mod"); moduleBody.append(autoincrement); - moduleBody.append(" , true );"); + moduleBody.append(");"); autoincrement++; } diff --git a/libLauncher/src/main/java/ru/gravit/launcher/managers/SimpleModuleManager.java b/libLauncher/src/main/java/ru/gravit/launcher/managers/SimpleModuleManager.java index fc4202d5..4ac0336f 100644 --- a/libLauncher/src/main/java/ru/gravit/launcher/managers/SimpleModuleManager.java +++ b/libLauncher/src/main/java/ru/gravit/launcher/managers/SimpleModuleManager.java @@ -132,7 +132,7 @@ public void printModules() { @Override public void registerModule(Module module) { - load(module); + modules.add(module); LogHelper.info("Module %s version: %s registered", module.getName(), module.getVersion()); }