mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-19 14:51:27 +01:00
Send signature headers when chat event viewers are modified
Fixes #8275
This commit is contained in:
parent
9541fc32dc
commit
7fdee6200b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user