mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-14 04:02:04 +01:00
Fix broadcast sending to sender multiple times
This commit is contained in:
parent
189781f2cf
commit
b21c0686c0
@ -1044,8 +1044,8 @@
|
|||||||
+ : disguised);
|
+ : disguised);
|
||||||
+ continue;
|
+ continue;
|
||||||
+ }
|
+ }
|
||||||
|
+ serverPlayer.sendChatMessage(outgoingChatMessage, flag2, boundChatType, unsignedFunction == null ? null : unsignedFunction.apply(serverPlayer.getBukkitEntity()));
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
+ sender.sendChatMessage(outgoingChatMessage, flag2, boundChatType, unsignedFunction == null ? null : unsignedFunction.apply(serverPlayer.getBukkitEntity())); // Paper
|
|
||||||
flag1 |= flag2 && message.isFullyFiltered();
|
flag1 |= flag2 && message.isFullyFiltered();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user