Ver código fonte

this should fix null connection error with MySQL
Fixes #4497

nossr50 4 anos atrás
pai
commit
c8b1a17194

+ 1 - 1
src/main/java/com/gmail/nossr50/database/SQLDatabaseManager.java

@@ -71,8 +71,8 @@ public final class SQLDatabaseManager implements DatabaseManager {
                 e.printStackTrace();
                 ex.printStackTrace();
                 mcMMO.p.getLogger().severe("Neither driver found");
+                return;
             }
-            return;
             //throw e; // aborts onEnable()  Riking if you want to do this, fully implement it.
         }