aboutsummaryrefslogtreecommitdiffhomepage
path: root/Spigot-Server-Patches
diff options
context:
space:
mode:
authorJason <[email protected]>2021-05-21 18:08:18 -0700
committerGitHub <[email protected]>2021-05-21 21:08:18 -0400
commit1f28e6eeb2d105aaa704e3cee864f5e5a6afa58c (patch)
tree000e8bc35e98cc09baaaee2f7f8496c66da6a733 /Spigot-Server-Patches
parentecb0d32cae583880ef296a3632a634660e6a550d (diff)
downloadPaper-1f28e6eeb2d105aaa704e3cee864f5e5a6afa58c.tar.gz
Paper-1f28e6eeb2d105aaa704e3cee864f5e5a6afa58c.zip
Fix default ChatRenderer when no plugins are installed (#5702)
Diffstat (limited to 'Spigot-Server-Patches')
-rw-r--r--Spigot-Server-Patches/0010-Adventure.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/Spigot-Server-Patches/0010-Adventure.patch b/Spigot-Server-Patches/0010-Adventure.patch
index 8af26635b1..aa9ca7c206 100644
--- a/Spigot-Server-Patches/0010-Adventure.patch
+++ b/Spigot-Server-Patches/0010-Adventure.patch
@@ -105,7 +105,7 @@ index 0000000000000000000000000000000000000000..89597b4a3064c3c6001c7e927a848ee7
+}
diff --git a/src/main/java/io/papermc/paper/adventure/ChatProcessor.java b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java
new file mode 100644
-index 0000000000000000000000000000000000000000..bab8156acf87731ccdc841de5b341176ddedaae6
+index 0000000000000000000000000000000000000000..e7ca0a44919ad052fa2ef279b4cd8989f8969a20
--- /dev/null
+++ b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java
@@ -0,0 +1,213 @@
@@ -189,7 +189,7 @@ index 0000000000000000000000000000000000000000..bab8156acf87731ccdc841de5b341176
+ // no legacy events called, all nice and fresh!
+ () -> {
+ this.processModern(
-+ ChatRenderer.DEFAULT,
++ ChatRenderer.defaultRenderer(),
+ new LazyPlayerSet(this.server),
+ Component.text(this.message).replaceText(URL_REPLACEMENT_CONFIG),
+ false