1
0
mirror of https://github.com/GeyserMC/Floodgate.git synced 2025-12-23 00:39:20 +00:00

Some more changes

This commit is contained in:
Tim203
2021-04-23 17:41:34 +02:00
parent f46791bd18
commit 2e88eaffa4
6 changed files with 111 additions and 36 deletions

View File

@@ -61,7 +61,6 @@ public class SqliteDatabase extends CommonPlayerLink {
Class.forName("org.sqlite.JDBC");
connection = DriverManager.getConnection("jdbc:sqlite:" + databasePath.toString());
try (Statement statement = connection.createStatement()) {
statement.setQueryTimeout(30); // set timeout to 30 sec.
statement.executeUpdate(
"create table if not exists LinkedPlayers (bedrockId string, javaUniqueId string, javaUsername string)"
);