Fix broadcast sending to sender multiple times

This commit is contained in:
Owen1212055 2024-12-15 21:43:15 -05:00
parent 189781f2cf
commit b21c0686c0
No known key found for this signature in database
GPG Key ID: 2133292072886A30

View File

@ -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();
}