[ci skip] mention adventure in chatcolor deprecation message (#9336)

* mention adventure in chatcolor deprecation message

* expand text

* americans
This commit is contained in:
powercas_gamer 2023-06-14 05:48:41 +02:00
parent b40a6bb08b
commit 01297f5079

View File

@ -985,8 +985,10 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
--- a/src/main/java/org/bukkit/ChatColor.java --- a/src/main/java/org/bukkit/ChatColor.java
+++ b/src/main/java/org/bukkit/ChatColor.java +++ b/src/main/java/org/bukkit/ChatColor.java
@@ -0,0 +0,0 @@ import org.jetbrains.annotations.Nullable; @@ -0,0 +0,0 @@ import org.jetbrains.annotations.Nullable;
/** /**
* All supported color values for chat * All supported color values for chat
+ * @deprecated ChatColor has been deprecated in favor of <a href="https://docs.advntr.dev/text.html">Adventure</a> API. See {@link net.kyori.adventure.text.format.NamedTextColor} for the adventure equivalent of pre-defined text colors
*/ */
+@Deprecated // Paper +@Deprecated // Paper
public enum ChatColor { public enum ChatColor {