Fix Small DBConnection issue

This commit is contained in:
MistPhizzle 2015-08-19 11:46:44 -04:00
parent c8a6b258f7
commit 989a1dfbdc

View file

@ -38,7 +38,7 @@ public class DBConnection {
sql.modifyQuery(query);
}
} else {
sql = new SQLite(ProjectKorra.log, "", "projectkorra.db", ProjectKorra.plugin.getDataFolder().getAbsolutePath());
sql = new SQLite(ProjectKorra.log, "Establishing SQLite Connection.", "projectkorra.db", ProjectKorra.plugin.getDataFolder().getAbsolutePath());
if (((SQLite) sql).open() == null) {
ProjectKorra.log.severe("Disabling due to database error");
GeneralMethods.stopPlugin();