1
0
mirror of https://github.com/Zrips/Jobs.git synced 2024-11-26 04:25:15 +01:00

Its actualy boolean

This commit is contained in:
Zrips 2017-07-22 13:46:16 +03:00
parent 8a3a9d9aa3
commit 1dc24ca1b0

View File

@ -63,8 +63,8 @@ public class JobsManager {
c.get("mysql-hostname", "localhost:3306");
c.get("mysql-database", "minecraft");
c.get("mysql-table-prefix", "jobs_");
c.get("verify-server-certificate", "false");
c.get("use-ssl", "false");
c.get("verify-server-certificate", false);
c.get("use-ssl", false);
if (storageMethod.equalsIgnoreCase("mysql")) {
DbType = DataBaseType.MySQL;
@ -104,7 +104,7 @@ public class JobsManager {
String hostname = config.getString("mysql-hostname");
String database = config.getString("mysql-database");
String prefix = config.getString("mysql-table-prefix");
boolean certificate = config.getBoolean("verify-server-certificate", false);
boolean ssl = config.getBoolean("use-ssl", false);
if (plugin.isEnabled()) {