mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] Некорректная инициализация клиенских модулей
This commit is contained in:
parent
08696839dc
commit
94d677fe1e
2 changed files with 2 additions and 2 deletions
|
@ -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++;
|
||||
}
|
||||
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue