diff --git a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/BukkitChatColorUtil.java b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/BukkitChatColorUtil.java
index 695e0ec..4d65c0e 100644
--- a/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/BukkitChatColorUtil.java
+++ b/pandalib-paper/src/main/java/fr/pandacube/lib/paper/util/BukkitChatColorUtil.java
@@ -45,19 +45,22 @@ public class BukkitChatColorUtil {
}
-
+ @SuppressWarnings("deprecation")
public static ChatColor toBukkit(net.md_5.bungee.api.ChatColor color) {
return ChatColor.valueOf(color.getName().toUpperCase());
}
-
+
+ @SuppressWarnings("deprecation")
public static ChatColor toBukkit(TextColor color) {
return toBukkit(NamedTextColor.nearestTo(color));
}
-
+
+ @SuppressWarnings("deprecation")
public static ChatColor toBukkit(NamedTextColor color) {
return ChatColor.valueOf(color.toString().toUpperCase());
}
+ @SuppressWarnings("deprecation")
public static NamedTextColor toAdventure(ChatColor color) {
return NamedTextColor.NAMES.value(color.name().toLowerCase());
}
diff --git a/pom.xml b/pom.xml
index 4a0b60e..94161a6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,8 +56,8 @@
UTF-8
1.19-R0.1-SNAPSHOT
- 1.19.2-R0.1
- 1.19.2
+ 1.19.4-R0.1
+ 1.19.4