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

previousPlayerGameType player NBT tag is incorrectly named

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 22w14a
    • None
    • Confirmed
    • Commands, Text

      The bug

      In the player's NBT data, the previousPlayerGameType tag is used to store a gamemode ID. However, its name refers to the gamemode as the "game type", which is inconsistent with other mentions of gamemodes.

      To reproduce

      /data get entity @s previousPlayerGameType
      

            Unassigned Unassigned
            MishMoshKeel21 MMK21
            Votes:
            2 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: