diff options
author | md_5 <git@md-5.net> | 2018-09-07 20:33:08 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-09-07 20:33:08 +1000 |
commit | 12bbe1d15f764e587f5284b7f3c2a79bcc08c680 (patch) | |
tree | 990ea47e4fe2aeb71bb56dedfb961724b29eeea1 /src/main | |
parent | 3278a7271b40ccc81ebc6a226cde2be76b503cce (diff) | |
download | bukkit-12bbe1d15f764e587f5284b7f3c2a79bcc08c680.tar bukkit-12bbe1d15f764e587f5284b7f3c2a79bcc08c680.tar.gz bukkit-12bbe1d15f764e587f5284b7f3c2a79bcc08c680.tar.lz bukkit-12bbe1d15f764e587f5284b7f3c2a79bcc08c680.tar.xz bukkit-12bbe1d15f764e587f5284b7f3c2a79bcc08c680.zip |
SPIGOT-4350: Expand EntityTeleportEvent to /teleport command
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java b/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java index 619f8d4f..9645b4bb 100644 --- a/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java @@ -6,8 +6,10 @@ import org.bukkit.event.Cancellable; import org.bukkit.event.HandlerList; /** - * Thrown when a non-player entity (such as an Enderman) tries to teleport - * from one location to another. + * Thrown when a non-player entity is teleported from one location to another. + * <br> + * This may be as a result of natural causes (Enderman, Shulker), pathfinding + * (Wolf), or commands (/teleport). */ public class EntityTeleportEvent extends EntityEvent implements Cancellable { private static final HandlerList handlers = new HandlerList(); |