SPIGOT-7435: Add TeleportCause#EXIT_BED

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2023-07-29 09:56:50 +10:00
parent e8181b5107
commit 35bb07c269

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