Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-6022

Respawn Anchor and BedSpawnLocation nulled in wrong order

    XMLWordPrintable

Details

    • CraftBukkit version git-Spigot-0509002-7c03d25 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
    • Yes

    Description

      If a anchor has 1 charge remaining and the player dies, the BedSpawnLocation is first set to null and then the respawn event is called. So if a player dies with 1 charge left, the event throws BedSpawnLocation to be null even though there is a charge left.

      Attachments

        Activity

          People

            Unassigned Unassigned
            TheMaxik Max
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: