Archiviert
13
0
Dieser Commit ist enthalten in:
Mariell Hoversholm 2021-03-17 10:47:08 +01:00
Ursprung 700e9e6a56
Commit 347f3a9b87

Datei anzeigen

@ -106,10 +106,10 @@ index 0000000000000000000000000000000000000000..dd018bb835e1b9fb2496404e1e5b1038
+} +}
diff --git a/src/main/java/io/papermc/paper/adventure/ChatProcessor.java b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java 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 new file mode 100644
index 0000000000000000000000000000000000000000..ee377d5bd8646733968f4085f60150f8ff6a4a5c index 0000000000000000000000000000000000000000..e1c5376efccbb1432b17cc60797a7bbe2871a470
--- /dev/null --- /dev/null
+++ b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java +++ b/src/main/java/io/papermc/paper/adventure/ChatProcessor.java
@@ -0,0 +1,211 @@ @@ -0,0 +1,213 @@
+package io.papermc.paper.adventure; +package io.papermc.paper.adventure;
+ +
+import io.papermc.paper.chat.ChatFormatter; +import io.papermc.paper.chat.ChatFormatter;
@ -321,6 +321,8 @@ index 0000000000000000000000000000000000000000..ee377d5bd8646733968f4085f60150f8
+ +
+ private static boolean anyListeners(final HandlerList handlers) { + private static boolean anyListeners(final HandlerList handlers) {
+ return handlers.getRegisteredListeners().length > 0; + return handlers.getRegisteredListeners().length > 0;
+ }
+}
diff --git a/src/main/java/io/papermc/paper/adventure/DisplayNames.java b/src/main/java/io/papermc/paper/adventure/DisplayNames.java diff --git a/src/main/java/io/papermc/paper/adventure/DisplayNames.java b/src/main/java/io/papermc/paper/adventure/DisplayNames.java
new file mode 100644 new file mode 100644
index 0000000000000000000000000000000000000000..b1d9d6276eb577ed3c66df1f89b3266d2c48eaf2 index 0000000000000000000000000000000000000000..b1d9d6276eb577ed3c66df1f89b3266d2c48eaf2