SPIGOT-1644: Add END_GATEWAY as a teleport reason

By: Thinkofdeath <thinkofdeath@spigotmc.org>
This commit is contained in:
Bukkit/Spigot 2016-03-02 16:42:20 +00:00
parent 34646e3aeb
commit f941b8b7ad

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