Исправлегия автосгенерированного конфига

This commit is contained in:
Gravit 2019-01-03 22:23:11 +07:00
parent 45666e6090
commit d6b8394016
No known key found for this signature in database
GPG key ID: 061981E1E85D3216

View file

@ -156,6 +156,9 @@ private static void generateConfigIfNotExists() throws IOException {
newConfig.login = "login";
newConfig.password = "password";
newConfig.mainclass = "";
newConfig.syncAuth = true;
newConfig.reconnectCount = 10;
newConfig.reconnectSleep = 1000;
//try(Reader reader = IOHelper.newReader(IOHelper.getResourceURL("ru/gravit/launcher/server/ServerWrapper.cfg")))
//{
// newConfig = gson.fromJson(reader,Config.class);