Updated EntityTeleportEvent in line with deprecation cleanup.

This commit is contained in:
EvilSeph
2012-02-18 13:13:50 -05:00
parent 7a06777e19
commit 2b137c5a9b

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;