From 6ec2c035cfd63d5ee84acf9658ed22786d66c87b Mon Sep 17 00:00:00 2001 From: Gravit Date: Mon, 20 Jan 2020 12:21:59 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20NPE=20=D0=B2=20ServerWrapper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/pro/gravit/launcher/server/ServerWrapper.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ServerWrapper/src/main/java/pro/gravit/launcher/server/ServerWrapper.java b/ServerWrapper/src/main/java/pro/gravit/launcher/server/ServerWrapper.java index 3df2bc50..a81b9f1f 100644 --- a/ServerWrapper/src/main/java/pro/gravit/launcher/server/ServerWrapper.java +++ b/ServerWrapper/src/main/java/pro/gravit/launcher/server/ServerWrapper.java @@ -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();