[FIX] ClientProcessLaunchEvent

This commit is contained in:
Gravit 2020-10-28 01:55:08 +07:00
parent aee051627b
commit fb5609b864
No known key found for this signature in database
GPG key ID: 98A079490768CCE5

View file

@ -159,7 +159,6 @@ public static void main(String[] args) throws Throwable {
verifyHDir(clientDir, params.clientHDir, clientMatcher, digest); verifyHDir(clientDir, params.clientHDir, clientMatcher, digest);
if (javaWatcher != null) if (javaWatcher != null)
verifyHDir(javaDir, params.javaHDir, null, digest); verifyHDir(javaDir, params.javaHDir, null, digest);
if (params.javaHDir != null)
LauncherEngine.modulesManager.invokeEvent(new ClientProcessLaunchEvent(engine, params)); LauncherEngine.modulesManager.invokeEvent(new ClientProcessLaunchEvent(engine, params));
launch(profile, params); launch(profile, params);
} }