Fix database connection

This commit is contained in:
Kyoukawa Meishin 2025-10-16 19:34:41 +08:00
parent 83d279b48d
commit 16c5993faf

View File

@ -71,9 +71,6 @@ public class HelloPlugin extends JavaPlugin {
//noinspection ResultOfMethodCallIgnored
getDataFolder().mkdirs();
}
if (dbFile.exists()) {
return;
}
connection = DriverManager.getConnection("jdbc:sqlite:" + dbFile.getAbsolutePath());
Statement stmt = connection.createStatement();