SPIGOT-7435: Add TeleportCause#EXIT_BED

This commit is contained in:
md_5 2023-07-29 09:56:50 +10:00
parent 2cc6db92ad
commit 14560d39ec
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -77,6 +77,10 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
* Indicates the teleportation was caused by a player exiting a vehicle
*/
DISMOUNT,
/**
* Indicates the teleportation was caused by a player exiting a bed
*/
EXIT_BED,
/**
* Indicates the teleportation was caused by an event not covered by
* this enum