diff --git a/Bungee/pom.xml b/Bungee/pom.xml
index 8fb5861..d75fb9a 100644
--- a/Bungee/pom.xml
+++ b/Bungee/pom.xml
@@ -11,6 +11,11 @@
PandaLib-Bungee
+
+ 16
+ 16
+
+
papermc
diff --git a/Core/.classpath b/Core/.classpath
index d4e0e69..4559ca0 100644
--- a/Core/.classpath
+++ b/Core/.classpath
@@ -13,7 +13,7 @@
-
+
diff --git a/Core/.settings/org.eclipse.jdt.core.prefs b/Core/.settings/org.eclipse.jdt.core.prefs
index 1b835cb..2af1e7b 100644
--- a/Core/.settings/org.eclipse.jdt.core.prefs
+++ b/Core/.settings/org.eclipse.jdt.core.prefs
@@ -1,8 +1,8 @@
eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=16
-org.eclipse.jdt.core.compiler.compliance=16
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=11
+org.eclipse.jdt.core.compiler.compliance=11
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.release=disabled
-org.eclipse.jdt.core.compiler.source=16
+org.eclipse.jdt.core.compiler.source=11
diff --git a/Core/src/main/java/fr/pandacube/lib/core/chat/ChatColorUtil.java b/Core/src/main/java/fr/pandacube/lib/core/chat/ChatColorUtil.java
index 8026064..ca09912 100644
--- a/Core/src/main/java/fr/pandacube/lib/core/chat/ChatColorUtil.java
+++ b/Core/src/main/java/fr/pandacube/lib/core/chat/ChatColorUtil.java
@@ -255,7 +255,16 @@ public class ChatColorUtil {
public static class ChatValueGradient {
- private record GradientValueColor(float value, ChatColor color) { }
+ //private record GradientValueColor(float value, ChatColor color) { } // Java 16
+ private static class GradientValueColor {
+ private final float value;
+ private final ChatColor color;
+ public GradientValueColor(float value, ChatColor color) {
+ this.value = value; this.color = color;
+ }
+ public float value() { return value; }
+ public ChatColor color() { return color; }
+ }
List colors = new ArrayList<>();
diff --git a/Core/src/main/java/fr/pandacube/lib/core/db/ParameterizedSQLString.java b/Core/src/main/java/fr/pandacube/lib/core/db/ParameterizedSQLString.java
index a5eb1d0..81b8a64 100644
--- a/Core/src/main/java/fr/pandacube/lib/core/db/ParameterizedSQLString.java
+++ b/Core/src/main/java/fr/pandacube/lib/core/db/ParameterizedSQLString.java
@@ -2,6 +2,13 @@ package fr.pandacube.lib.core.db;
import java.util.List;
-public record ParameterizedSQLString(String sqlString, List