summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEvilSeph <evilseph@gmail.com>2012-02-18 13:13:50 -0500
committerEvilSeph <evilseph@gmail.com>2012-02-18 13:13:50 -0500
commit6ec92480a79e0b50d14e5631a794b83008e562af (patch)
treef60f0729315eb3dc3f96f5a0788ea5fb2dbafef9 /src
parent049a7cc1d09ff056929e39e26ec5c37405ed18ca (diff)
downloadbukkit-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.java2
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;