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

Add PlayerRespawnEvent#isRespawnAnchorSpawn

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • git-Spigot-4d9262c-dc7c3c6
    • Yes

      Currently, there is no way in the API to check if a player has respawned via a respawn anchor. This would be useful for plugins that use the respawning event to decide what to block or allow the respawn to the respawn anchor. Thus there should be a method to the existing player respawn event to check whether the respawn is going to a respawn anchor or not. Similar to checking if a player is respawning to a bed or not.

            Unassigned Unassigned
            Siris Suneet Tipirneni
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: