diff options
author | EvilSeph <evilseph@gmail.com> | 2012-02-18 13:13:50 -0500 |
---|---|---|
committer | EvilSeph <evilseph@gmail.com> | 2012-02-18 13:13:50 -0500 |
commit | 6ec92480a79e0b50d14e5631a794b83008e562af (patch) | |
tree | f60f0729315eb3dc3f96f5a0788ea5fb2dbafef9 /src | |
parent | 049a7cc1d09ff056929e39e26ec5c37405ed18ca (diff) | |
download | bukkit-6ec92480a79e0b50d14e5631a794b83008e562af.tar bukkit-6ec92480a79e0b50d14e5631a794b83008e562af.tar.gz bukkit-6ec92480a79e0b50d14e5631a794b83008e562af.tar.lz bukkit-6ec92480a79e0b50d14e5631a794b83008e562af.tar.xz bukkit-6ec92480a79e0b50d14e5631a794b83008e562af.zip |
Updated EntityTeleportEvent in line with deprecation cleanup.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java b/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java index bc588043..e7d2a353 100644 --- a/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java +++ b/src/main/java/org/bukkit/event/entity/EntityTeleportEvent.java @@ -18,7 +18,7 @@ public class EntityTeleportEvent extends EntityEvent implements Cancellable { private Location to; public EntityTeleportEvent(Entity what, Location from, Location to) { - super(Type.ENTITY_TELEPORT, what); + super(what); this.from = from; this.to = to; this.cancel = false; |