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

Adding PlayerTeleportEvent.TeleportCause enum for bed exiting

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • CraftBukkit version 3619-Spigot-d90018e-6459934
    • Yes

      Created a similar ticket a few months back about the vehicle exit teleport cause (DISMOUNT). Similarly ran into a problem with the PlayerTeleportEvent being called for the non-teleporting-like event of player leaving their bed.

      Was wondering if there'd be a way to establish yet another Enum for PlayerTeleportEvent.TeleportCause to indicate the player is exiting a bed.

      Look forward to any input you can provide on this! 

            md_5 md_5
            CoolLord22 Sachet
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: