#3765: Fix forgotten boolean write

This commit is contained in:
Outfluencer 2024-12-07 21:50:03 +01:00 committed by GitHub
parent 8a80435e64
commit 7340f1a035
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -45,6 +45,10 @@ public class EncryptionResponse extends DefinedPacket
writeArray( verifyToken, buf ); writeArray( verifyToken, buf );
} else } else
{ {
if ( protocolVersion >= ProtocolConstants.MINECRAFT_1_19 && protocolVersion <= ProtocolConstants.MINECRAFT_1_19_3 )
{
buf.writeBoolean( false );
}
buf.writeLong( encryptionData.getSalt() ); buf.writeLong( encryptionData.getSalt() );
writeArray( encryptionData.getSignature(), buf ); writeArray( encryptionData.getSignature(), buf );
} }