diff --git a/src/main/java/com/gmail/nossr50/mcMMO.java b/src/main/java/com/gmail/nossr50/mcMMO.java index 278236825..5a9133cb3 100644 --- a/src/main/java/com/gmail/nossr50/mcMMO.java +++ b/src/main/java/com/gmail/nossr50/mcMMO.java @@ -180,7 +180,8 @@ public class mcMMO extends JavaPlugin { //Setup the leader boards if (configInstance.getUseMySQL()) { - Database.connect(); + // TODO: Why do we have to check for a connection that hasn't be made yet? + Database.checkConnected(); Database.createStructure(); } else {