diff options
author | Thinkofdeath <thinkofdeath@spigotmc.org> | 2016-03-02 16:42:20 +0000 |
---|---|---|
committer | Thinkofdeath <thinkofdeath@spigotmc.org> | 2016-03-02 16:42:20 +0000 |
commit | cbd3ac315311b2882bfeab44ad7ac2074c77bc06 (patch) | |
tree | ec737883d7c74bf2ade8178a24851ee85bd48f8d /src/main | |
parent | 3019b6a70c0c70d6286eb1bc6fd21aaf3205ad48 (diff) | |
download | bukkit-cbd3ac315311b2882bfeab44ad7ac2074c77bc06.tar bukkit-cbd3ac315311b2882bfeab44ad7ac2074c77bc06.tar.gz bukkit-cbd3ac315311b2882bfeab44ad7ac2074c77bc06.tar.lz bukkit-cbd3ac315311b2882bfeab44ad7ac2074c77bc06.tar.xz bukkit-cbd3ac315311b2882bfeab44ad7ac2074c77bc06.zip |
SPIGOT-1644: Add END_GATEWAY as a teleport reason
Diffstat (limited to 'src/main')
-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 fa9c8230..3f9d5cb4 100644 --- a/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java +++ b/src/main/java/org/bukkit/event/player/PlayerTeleportEvent.java @@ -61,6 +61,11 @@ public class PlayerTeleportEvent extends PlayerMoveEvent { */ 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 */ |