mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-362: Add TeleportCause.SPECTATE
This commit is contained in:
parent
52d02e1535
commit
dd0fec4187
1 changed files with 5 additions and 0 deletions
|
@ -55,6 +55,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
|
|||
* portal
|
||||
*/
|
||||
END_PORTAL,
|
||||
/**
|
||||
* Indicates the teleportation was caused by a player teleporting to a
|
||||
* Entity/Player via the specatator menu
|
||||
*/
|
||||
SPECTATE,
|
||||
/**
|
||||
* Indicates the teleportation was caused by an event not covered by
|
||||
* this enum
|
||||
|
|
Loading…
Add table
Reference in a new issue