diff --git a/pom.xml b/pom.xml
index 621b0d1..2b5f968 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,11 +6,11 @@
groupId
LiteFlags
- 0.5
+ 1.0
- 11
- 11
+ 16
+ 16
${project.artifactId}
@@ -21,8 +21,8 @@
maven-compiler-plugin
3.5.1
- 11
- 11
+ 16
+ 16
@@ -41,9 +41,9 @@
- com.destroystokyo.paper
+ io.papermc.paper
paper-api
- 1.16.5-R0.1-SNAPSHOT
+ 1.17.1-R0.1-SNAPSHOT
provided
diff --git a/src/main/java/com/liteflags/data/database/DatabaseConnection.java b/src/main/java/com/liteflags/data/database/DatabaseConnection.java
index b77f6da..e071c65 100644
--- a/src/main/java/com/liteflags/data/database/DatabaseConnection.java
+++ b/src/main/java/com/liteflags/data/database/DatabaseConnection.java
@@ -26,7 +26,7 @@ public class DatabaseConnection {
if (this.connection == null || this.connection.isClosed()) {
synchronized (this) {
if (this.connection == null || this.connection.isClosed()) {
- this.connection = DriverManager.getConnection("jdbc:" + this.drivers + "://" + this.ip + ":" + this.port + "/" + this.database, this.username, this.password);
+ this.connection = DriverManager.getConnection("jdbc:" + this.drivers + "://" + this.ip + ":" + this.port + "/" + this.database + "?autoReconnect=true&useSSL=false", this.username, this.password);
}
}
}