mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-07 16:57:42 +01:00
Fix Player#chat kicking all clients (#8262)
This commit is contained in:
parent
7e03e79e50
commit
a7ca38de1f
@ -124,7 +124,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
+ } else {
|
+ } else {
|
||||||
+ // TODO text filtering
|
+ // TODO text filtering
|
||||||
+ // TODO chat decorating
|
+ // TODO chat decorating
|
||||||
+ this.getHandle().connection.chat(msg, PlayerChatMessage.unsigned(net.minecraft.network.chat.MessageSigner.create(this.getUniqueId()), new net.minecraft.network.chat.ChatMessageContent(msg)), false);
|
+ this.getHandle().connection.chat(msg, PlayerChatMessage.system(new net.minecraft.network.chat.ChatMessageContent(msg)), false);
|
||||||
+ }
|
+ }
|
||||||
+ }
|
+ }
|
||||||
+ // Paper en
|
+ // Paper en
|
||||||
|
Loading…
Reference in New Issue
Block a user