geforkt von Mirrors/Paper
Send post ChatEvent messages as MessageType.CHAT
Fixes narrator issue #5450
Dieser Commit ist enthalten in:
Ursprung
2c5f6c20c1
Commit
1444373492
@ -119,6 +119,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+import java.util.concurrent.ExecutionException;
|
||||
+import java.util.function.Consumer;
|
||||
+import java.util.regex.Pattern;
|
||||
+
|
||||
+import net.kyori.adventure.audience.MessageType;
|
||||
+import net.kyori.adventure.text.Component;
|
||||
+import net.kyori.adventure.text.TextReplacementConfig;
|
||||
+import net.kyori.adventure.text.event.ClickEvent;
|
||||
@ -273,7 +275,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ }
|
||||
+ } else {
|
||||
+ for (final Player recipient : event.recipients()) {
|
||||
+ recipient.sendMessage(player, message);
|
||||
+ recipient.sendMessage(player, message, MessageType.CHAT);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren