mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-12-23 00:51:01 +03:00
[FIX] NPE в ServerWrapper
This commit is contained in:
parent
d4c4197e8e
commit
6ec2c035cf
1 changed files with 2 additions and 0 deletions
|
@ -27,6 +27,7 @@
|
|||
import java.net.URL;
|
||||
import java.nio.file.Path;
|
||||
import java.nio.file.Paths;
|
||||
import java.security.AuthProvider;
|
||||
import java.security.interfaces.ECPublicKey;
|
||||
import java.security.spec.InvalidKeySpecException;
|
||||
import java.util.Arrays;
|
||||
|
@ -104,6 +105,7 @@ public static void initGson(ServerWrapperModulesManager modulesManager) {
|
|||
|
||||
public void run(String... args) throws Throwable {
|
||||
initGson(modulesManager);
|
||||
AuthRequest.registerProviders();
|
||||
if (args.length > 0 && args[0].equals("setup") && !disableSetup) {
|
||||
LogHelper.debug("Read ServerWrapperConfig.json");
|
||||
loadConfig();
|
||||
|
|
Loading…
Reference in a new issue