From f941b8b7adb947eab621d696cdabd336e179935b Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Wed, 2 Mar 2016 16:42:20 +0000 Subject: [PATCH] SPIGOT-1644: Add END_GATEWAY as a teleport reason By: Thinkofdeath --- .../java/org/bukkit/event/player/PlayerTeleportEvent.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java index fa9c823032..3f9d5cb4de 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java @@ -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