From 1dc24ca1b046dc3f1ed1cb8a47645dcc12b831fc Mon Sep 17 00:00:00 2001 From: Zrips Date: Sat, 22 Jul 2017 13:46:16 +0300 Subject: [PATCH] Its actualy boolean --- src/main/java/com/gamingmesh/jobs/dao/JobsManager.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gamingmesh/jobs/dao/JobsManager.java b/src/main/java/com/gamingmesh/jobs/dao/JobsManager.java index a195d58e..1589dd4e 100644 --- a/src/main/java/com/gamingmesh/jobs/dao/JobsManager.java +++ b/src/main/java/com/gamingmesh/jobs/dao/JobsManager.java @@ -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()) {