Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-254435

The secure chat warning toast is not presented to the player when joining a server using the --server argument

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w44a
    • 1.19.1 Release Candidate 2
    • None
    • Plausible
    • Social Interactions
    • Normal

      The bug

      When joining a server using the --server argument, the secure chat warning toast (and the chat preview warning screen in versions before its removal in 22w42a) are skipped. One would expect these screens always to be presented regardless of a player's method of joining, as they provide important information regarding what a player may experience on a server.

      How to reproduce

      1. Start a server with previews-chat set to true and enforce-secure-profile set to false
      2. Open your minecraft/versions folder, and duplicate the 1.19.1-rc2 folder
      3. Rename the new folder to 1.19.1-rc2_bug
      4. Remove the .jar file inside, and rename the .json file to 1.19.1-rc2_bug
      5. In the .json file, replace "1.19.1-rc2" with "1.19.1-rc2_bug"
      6. Add the following within the game arguments array (very beginning of file):
        "--server", "localhost",
      7. Save and close the file
      8. Open the Minecraft Launcher
      9. Create an installation for 1.19.1-rc2_bug, and launch the version
        The player joins the server without being presented with either dialog

            Karaoglu [Mojang] Nilay Karaoglu
            markderickson [Mod] markderickson
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: