From b21c0686c0d1f094a011c0c9b1030e3d2e993276 Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Sun, 15 Dec 2024 21:43:15 -0500 Subject: [PATCH] Fix broadcast sending to sender multiple times --- .../sources/net/minecraft/server/players/PlayerList.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/patches/sources/net/minecraft/server/players/PlayerList.java.patch b/paper-server/patches/sources/net/minecraft/server/players/PlayerList.java.patch index 90f421d2a8..80fad33f9d 100644 --- a/paper-server/patches/sources/net/minecraft/server/players/PlayerList.java.patch +++ b/paper-server/patches/sources/net/minecraft/server/players/PlayerList.java.patch @@ -1044,8 +1044,8 @@ + : disguised); + continue; + } ++ serverPlayer.sendChatMessage(outgoingChatMessage, flag2, boundChatType, unsignedFunction == null ? null : unsignedFunction.apply(serverPlayer.getBukkitEntity())); + // Paper end -+ sender.sendChatMessage(outgoingChatMessage, flag2, boundChatType, unsignedFunction == null ? null : unsignedFunction.apply(serverPlayer.getBukkitEntity())); // Paper flag1 |= flag2 && message.isFullyFiltered(); }