aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorpowercas_gamer <[email protected]>2023-06-14 05:48:41 +0200
committerGitHub <[email protected]>2023-06-13 20:48:41 -0700
commit62262d73d2c3c3e111c9fd4e0c069cdb1324f186 (patch)
tree58a212dc01da7bd4d3b846f1d645bf4cc814b681
parent2e363c73ba3c0a7b3d5138ec55a6e93c7befb5bb (diff)
downloadPaper-62262d73d2c3c3e111c9fd4e0c069cdb1324f186.tar.gz
Paper-62262d73d2c3c3e111c9fd4e0c069cdb1324f186.zip
[ci skip] mention adventure in chatcolor deprecation message (#9336)
* mention adventure in chatcolor deprecation message * expand text * americans
-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 {