SPIGOT-1644: Add END_GATEWAY as a teleport reason

This commit is contained in:
Thinkofdeath 2016-03-02 16:42:20 +00:00
parent 3019b6a70c
commit cbd3ac3153

View file

@ -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