summaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java
index 7e2e1288..fa9c8230 100644
--- a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java
+++ b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java
@@ -56,6 +56,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent {
*/
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
*/