mirror of
https://github.com/TotalFreedomMC/TF-ProjectKorra.git
synced 2024-09-11 12:49:32 +00:00
Fix Small DBConnection issue
This commit is contained in:
parent
c8a6b258f7
commit
989a1dfbdc
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue