From 71990e3ccc16e65f90bc76b38648f9a1d3e9cedb Mon Sep 17 00:00:00 2001 From: Outfluencer <48880402+Outfluencer@users.noreply.github.com> Date: Fri, 26 Aug 2022 23:40:18 +0200 Subject: [PATCH] #3387: Use the correct write method for ChatChain in ClientCommand --- .../java/net/md_5/bungee/protocol/packet/ClientCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java index 2b106a2f..72b09985 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/ClientCommand.java @@ -67,7 +67,7 @@ public class ClientCommand extends DefinedPacket buf.writeBoolean( signedPreview ); if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_19_1 ) { - chain.write( buf ); + chain.write( buf, direction, protocolVersion ); } }