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

"Allow Server Listings" option doesn't save its last setting

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.18 Pre-release 2
    • 21w44a
    • None
    • Confirmed
    • UI
    • Important

      The bug

      This new option doesn't have its own line in options.txt. The "Allow Server Listings" option is reset to ON each time you restart the game instead of remembering that it was previously set to OFF.

      Steps to reproduce

      1. Start a clean game, click "Options", then come back to title screen immediately.
      2. Copy the generated options.txt.
      3. Change "Allow Server Listings" from ON (default) to OFF, then come back to the title screen; the options.txt file should be modified now.
      4. Restart the game and see if the option is ON or OFF.

      Observed results

      1. The two options.txt files are identical.
      2. In game, the status of the option is reset to ON.

      Expected results

      1. The two options.txt files should have a difference on the corresponding line.
      2. In game, the status of the option should be OFF.

            slicedlime [Mojang] slicedlime
            anterdc99 Bilin Tsui
            Votes:
            7 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: