diff --git a/patches/server/Fix-command-preprocess-cancelling-and-command-changi.patch b/patches/server/Fix-command-preprocess-cancelling-and-command-changi.patch index b5cc7d6cbf..fcb7557ddb 100644 --- a/patches/server/Fix-command-preprocess-cancelling-and-command-changi.patch +++ b/patches/server/Fix-command-preprocess-cancelling-and-command-changi.patch @@ -38,3 +38,11 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 // CraftBukkit end 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);