Skip to content

Commit

Permalink
SpigotMC#3765: Fix forgotten boolean write
Browse files Browse the repository at this point in the history
  • Loading branch information
Outfluencer authored Dec 7, 2024
1 parent 8a80435 commit 7340f1a
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ public void write(ByteBuf buf, ProtocolConstants.Direction direction, int protoc
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 );
}
Expand Down

0 comments on commit 7340f1a

Please sign in to comment.