mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
SPIGOT-1644: Add END_GATEWAY as a teleport reason
This commit is contained in:
parent
3019b6a70c
commit
cbd3ac3153
1 changed files with 5 additions and 0 deletions
|
@ -60,6 +60,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
|
|||
* Entity/Player via the specatator menu
|
||||
*/
|
||||
SPECTATE,
|
||||
/**
|
||||
* Indicates the teleportation was caused by a player entering an End
|
||||
* gateway
|
||||
*/
|
||||
END_GATEWAY,
|
||||
/**
|
||||
* Indicates the teleportation was caused by an event not covered by
|
||||
* this enum
|
||||
|
|
Loading…
Add table
Reference in a new issue