From 94e06dd4ee9c655f04a8b6630a30964694d4b524 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 6 Mar 2016 09:46:35 +1100 Subject: SPIGOT-1773: Chorus fruit teleport reason --- src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java index 3f9d5cb4..d7f3af7f 100644 --- a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java @@ -65,6 +65,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent { * gateway */ END_GATEWAY, + /** + * Indicates the teleportation was caused by a player consuming chorus + * fruit + */ + CHORUS_FRUIT, /** * Indicates the teleportation was caused by an event not covered by * this enum -- cgit v1.2.3