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

Last game mode for game mode switcher and F3 + N is always survival after relogging

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 1.16 Pre-release 6
    • 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3, 1.16 Pre-release 4, 1.16 Pre-release 5
    • Confirmed
    • Debug, UI
    • Low

      The bug

      When you rejoin your world, the last game mode that is stored for game mode switcher and and F3 + N always resets to survival after relogging. Even if you are in survival mode after relogging your last game mode counts as survival in game mode, which means that if you open the game mode switcher, the cursor will be at suvival mode even though you are already in survival mode.

      To reproduce

      1. Switch to survival mode.
      2. Relog
      3. Open game mode switcher.
        → What happened: The cursor was on survival.
        → What I expected: The cursor will be at the game mode you were before being in survival.

      To reproduce this with F3 + N:

      1. Switch from creative to spectator.
      2. Relog
      3. Press F3 + N
        → What happened: You will be put in survival mdoe.
        → What I expected: You will be in creative mode.

            kingbdogz [Mojang] Brandon Pearce
            bugsbugsbugs bugsbugsbugs
            Votes:
            11 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: