From 2286728308ac4e5261a9e78c5532095cf6ef2ee2 Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Thu, 31 Jul 2014 13:07:21 -0400 Subject: [PATCH] Riking fix this or its gone. --- .../java/com/gmail/nossr50/database/SQLDatabaseManager.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java b/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java index a8f03f6ee..0e9ba4552 100644 --- a/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java +++ b/src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java @@ -40,7 +40,7 @@ public final class SQLDatabaseManager implements DatabaseManager { private ConnectionPool connectionPool; - protected SQLDatabaseManager() throws ClassNotFoundException { + protected SQLDatabaseManager() { String connectionString = "jdbc:mysql://" + Config.getInstance().getMySQLServerName() + ":" + Config.getInstance().getMySQLServerPort() + "/" + Config.getInstance().getMySQLDatabaseName(); try { @@ -49,7 +49,8 @@ public final class SQLDatabaseManager implements DatabaseManager { } catch (ClassNotFoundException e) { e.printStackTrace(); - throw e; // aborts onEnable() + return; + //throw e; // aborts onEnable() Riking if you want to do this, fully implement it. } Properties connectionProperties = new Properties();