aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0005-Adventure.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0005-Adventure.patch')
-rw-r--r--patches/api/0005-Adventure.patch6
1 files changed, 4 insertions, 2 deletions
diff --git a/patches/api/0005-Adventure.patch b/patches/api/0005-Adventure.patch
index 1fa6ca4e57..890199b9c8 100644
--- a/patches/api/0005-Adventure.patch
+++ b/patches/api/0005-Adventure.patch
@@ -981,12 +981,14 @@ index ff86f4f5d7f460e8986c4a4fa483f5b5a1d3a1b6..cd9566aeace9e2e1e01fb014b0c50ba9
return server.getShutdownMessage();
}
diff --git a/src/main/java/org/bukkit/ChatColor.java b/src/main/java/org/bukkit/ChatColor.java
-index e3f185dc982d1c38195a4e01ddd485c13ffa58c0..ea4ceb643239c26851bacbf45fc3f2efef3bb4be 100644
+index e3f185dc982d1c38195a4e01ddd485c13ffa58c0..918a045165cdcde264bc24082b7afebb407271de 100644
--- a/src/main/java/org/bukkit/ChatColor.java
+++ b/src/main/java/org/bukkit/ChatColor.java
-@@ -11,6 +11,7 @@ import org.jetbrains.annotations.Nullable;
+@@ -10,7 +10,9 @@ import org.jetbrains.annotations.Nullable;
+
/**
* 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
public enum ChatColor {