diff options
Diffstat (limited to 'patch-remap/mache-vineflower/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java.patch')
-rw-r--r-- | patch-remap/mache-vineflower/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/patch-remap/mache-vineflower/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java.patch b/patch-remap/mache-vineflower/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java.patch new file mode 100644 index 0000000000..53212e50fa --- /dev/null +++ b/patch-remap/mache-vineflower/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java.patch @@ -0,0 +1,23 @@ +--- a/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java ++++ b/net/minecraft/network/protocol/game/ClientboundSystemChatPacket.java +@@ -1,3 +1,4 @@ ++// mc-dev import + package net.minecraft.network.protocol.game; + + import net.minecraft.network.FriendlyByteBuf; +@@ -5,6 +6,7 @@ + import net.minecraft.network.protocol.Packet; + + public record ClientboundSystemChatPacket(Component content, boolean overlay) implements Packet<ClientGamePacketListener> { ++ + public ClientboundSystemChatPacket(FriendlyByteBuf buffer) { + this(buffer.readComponentTrusted(), buffer.readBoolean()); + } +@@ -15,7 +17,6 @@ + buffer.writeBoolean(this.overlay); + } + +- @Override + public void handle(ClientGamePacketListener handler) { + handler.handleSystemChat(this); + } |