SPIGOT-362: Add TeleportCause.SPECTATE

This commit is contained in:
Thinkofdeath 2015-01-06 20:20:20 +00:00
parent 52d02e1535
commit dd0fec4187

View file

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