mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-21 05:44:17 +00:00
SPIGOT-4350: Expand EntityTeleportEvent to /teleport command
This commit is contained in:
parent
3278a7271b
commit
12bbe1d15f
1 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue