Skip to content

Commit 7340f1a

Browse files
authored
#3765: Fix forgotten boolean write
1 parent 8a80435 commit 7340f1a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

protocol/src/main/java/net/md_5/bungee/protocol/packet/EncryptionResponse.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protoc
4545
writeArray( verifyToken, buf );
4646
} else
4747
{
48+
if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_19 && protocolVersion <= ProtocolConstants.MINECRAFT_1_19_3 )
49+
{
50+
buf.writeBoolean( false );
51+
}
4852
buf.writeLong( encryptionData.getSalt() );
4953
writeArray( encryptionData.getSignature(), buf );
5054
}

0 commit comments

Comments
 (0)