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

/spawnpoint allows players to set their spawnpoint to out-of-bounds coordinates, which crashes the game when trying to respawn

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Fixed
    • Affects Version/s: 1.16.4, 20w51a, 1.16.5
    • Fix Version/s: 21w10a
    • Labels:
    • Confirmation Status:
      Confirmed
    • Category:
      Crash
    • Mojang Priority:
      Very Important

      Description

      The bug

      The command /spawnpoint allows for players to set their spawnpoint to a set of coordinates that are out of bounds. If the player dies afterwards and attempts to respawn, the server crashes.

      If the player exits to the title screen while they are dead and the world saves, they will no longer be able to use the world as they will be unable to respawn without crashing the game.

      How to reproduce

      1. Use the command /spawnpoint @p ~ ~ ~30000000000
      2. Kill yourself using /kill @p
      3. Attempt to respawn (you may need to click "Respawn" twice)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              panda4994 [Mojang] Panda
              Reporter:
              VideoGameSmash12 _Video
              Votes:
              4 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                CHK: