[FIX] Некорректная инициализация клиенских модулей

This commit is contained in:
Gravit 2019-03-10 16:17:19 +07:00
parent 08696839dc
commit 94d677fe1e
No known key found for this signature in database
GPG key ID: 061981E1E85D3216
2 changed files with 2 additions and 2 deletions

View file

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

View file

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