[SPIGOT-7435] Adding PlayerTeleportEvent.TeleportCause enum for bed exiting Created: 19/Jul/23 Updated: 25/Dec/24 Resolved: 28/Jul/23 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | New Feature | Priority: | Minor |
Reporter: | Sachet | Assignee: | md_5 |
Resolution: | Fixed | Votes: | 1 |
Labels: | Teleportation, event, spigot |
Version: | CraftBukkit version 3619-Spigot-d90018e-6459934 |
Guidelines Read: | Yes |
Description |
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! |