diff options
author | md_5 <git@md-5.net> | 2016-03-06 09:46:35 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-06 09:46:35 +1100 |
commit | 94e06dd4ee9c655f04a8b6630a30964694d4b524 (patch) | |
tree | 50fb599e788b325db81ac3edad24b2330c268e30 /src | |
parent | c44c41ef02307f87bd978a6021a10d9b3d751d5e (diff) | |
download | bukkit-94e06dd4ee9c655f04a8b6630a30964694d4b524.tar bukkit-94e06dd4ee9c655f04a8b6630a30964694d4b524.tar.gz bukkit-94e06dd4ee9c655f04a8b6630a30964694d4b524.tar.lz bukkit-94e06dd4ee9c655f04a8b6630a30964694d4b524.tar.xz bukkit-94e06dd4ee9c655f04a8b6630a30964694d4b524.zip |
SPIGOT-1773: Chorus fruit teleport reason
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java | 5 |
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 3f9d5cb4..d7f3af7f 100644 --- a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java @@ -66,6 +66,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent { */ 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 */ |