mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 19:28:03 +01:00
SPIGOT-7435: Add TeleportCause#EXIT_BED
By: md_5 <git@md-5.net>
This commit is contained in:
parent
e8181b5107
commit
35bb07c269
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue