13
0
geforkt von Mirrors/Paper

Send signature headers when chat event viewers are modified

Fixes #8275
Dieser Commit ist enthalten in:
Nassim Jahnke 2022-08-10 09:59:28 +02:00
Ursprung 9541fc32dc
Commit 7fdee6200b

Datei anzeigen

@ -547,6 +547,9 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ viewer.sendMessage(source, audienceMsgFunction.apply(viewer), MessageType.CHAT);
+ }
+ }
+
+ // Make sure to send remaining headers
+ ChatProcessor.this.outgoing.sendHeadersToRemainingPlayers(ChatProcessor.this.server.getPlayerList());
+ }
+
+ private void sendToViewer(final CommandSender viewer, final ChatType.Bound chatType, final @Nullable Function<Audience, net.minecraft.network.chat.Component> msgFunction) {