#3382: Use the correct write method for ChatChain in ClientChat packet

This commit is contained in:
Outfluencer 2022-08-20 08:22:14 +02:00 committed by GitHub
parent 5cdba87b87
commit 5e7dcc48b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ public class ClientChat extends DefinedPacket
buf.writeBoolean( signedPreview ); buf.writeBoolean( signedPreview );
if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_19_1 ) if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_19_1 )
{ {
chain.write( buf ); chain.write( buf, direction, protocolVersion );
} }
} }