Фикс NPE при загрузки авангарда

This commit is contained in:
Gravit 2018-10-26 22:36:22 +07:00
parent 89027479c1
commit 9f0447dc62
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -406,6 +406,7 @@ public static void main(String... args) throws Throwable {
engine.loadScript(Launcher.CONFIG_SCRIPT_FILE);
Launcher.modulesManager.preInitModules();
if (Launcher.isUsingAvanguard()) {
AvanguardStarter.start(DirBridge.dir);
AvanguardStarter.load();
AvanguardStarter.main(false);
}