13
0
geforkt von Mirrors/Paper

SPIGOT-4350: Expand EntityTeleportEvent to /teleport command

By: md_5 <git@md-5.net>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2018-09-07 20:33:08 +10:00
Ursprung 7b32fe4d18
Commit 8cd4dc4e57

Datei anzeigen

@ -6,8 +6,10 @@ import org.bukkit.event.Cancellable;
import org.bukkit.event.HandlerList; import org.bukkit.event.HandlerList;
/** /**
* Thrown when a non-player entity (such as an Enderman) tries to teleport * Thrown when a non-player entity is teleported from one location to another.
* 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 { public class EntityTeleportEvent extends EntityEvent implements Cancellable {
private static final HandlerList handlers = new HandlerList(); private static final HandlerList handlers = new HandlerList();