From 7340f1a0350bc0c9a186722ac1ffb2dc15cd3143 Mon Sep 17 00:00:00 2001 From: Outfluencer Date: Sat, 7 Dec 2024 21:50:03 +0100 Subject: [PATCH] #3765: Fix forgotten boolean write --- .../net/md_5/bungee/protocol/packet/EncryptionResponse.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/protocol/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java b/protocol/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java index 63e9d18da..1b9116996 100644 --- a/protocol/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java +++ b/protocol/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java @@ -45,6 +45,10 @@ public class EncryptionResponse extends DefinedPacket writeArray( verifyToken, buf ); } else { + if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_19 && protocolVersion <= ProtocolConstants.MINECRAFT_1_19_3 ) + { + buf.writeBoolean( false ); + } buf.writeLong( encryptionData.getSalt() ); writeArray( encryptionData.getSignature(), buf ); }