Notify user that new pw was used

This commit is contained in:
memetrollsXD 2022-04-24 04:36:11 +02:00
parent e29b6744d4
commit b76dec2441

View File

@ -184,6 +184,7 @@ public final class DispatchServer {
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");
kmf.init(ks, keystorePassword);
} catch (Exception e) {
Grasscutter.getLogger().warn("[Dispatch] Unable to load keystore. Using default keystore password...");
KeyStore ks = KeyStore.getInstance("PKCS12");
ks.load(fis, "123456");
KeyManagerFactory kmf = KeyManagerFactory.getInstance("SunX509");