mirror of
https://github.com/PaperMC/Paper.git
synced 2025-02-11 18:11:55 +01:00
Fix another case of missing chat headers
This commit is contained in:
parent
cd71f3c427
commit
2f1aaaa85c
@ -38,3 +38,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
|||||||
// CraftBukkit end
|
// CraftBukkit end
|
||||||
Iterator iterator = map.values().iterator();
|
Iterator iterator = map.values().iterator();
|
||||||
|
|
||||||
|
@@ -0,0 +0,0 @@ public class ServerGamePacketListenerImpl implements ServerPlayerConnection, Tic
|
||||||
|
}
|
||||||
|
});
|
||||||
|
} else if (this.player.getChatVisibility() == ChatVisiblity.SYSTEM) { // Re-add "Command Only" flag check
|
||||||
|
+ this.server.getPlayerList().broadcastMessageHeader(message, Set.of()); // Paper
|
||||||
|
this.send(new ClientboundSystemChatPacket(Component.translatable("chat.cannotSend").withStyle(ChatFormatting.RED), false));
|
||||||
|
} else {
|
||||||
|
this.chat(s, message, true);
|
||||||
|
Loading…
Reference in New Issue
Block a user