Updated EntityTeleportEvent in line with deprecation cleanup.

By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
Bukkit/Spigot
2012-02-18 13:13:50 -05:00
parent 75fd934339
commit 4608ec4504

View File

@@ -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;