Updated EntityTeleportEvent in line with deprecation cleanup.

This commit is contained in:
EvilSeph 2012-02-18 13:13:50 -05:00
parent 049a7cc1d0
commit 6ec92480a7

View File

@ -18,7 +18,7 @@ public class EntityTeleportEvent extends EntityEvent implements Cancellable {
private Location to; private Location to;
public EntityTeleportEvent(Entity what, Location from, Location to) { public EntityTeleportEvent(Entity what, Location from, Location to) {
super(Type.ENTITY_TELEPORT, what); super(what);
this.from = from; this.from = from;
this.to = to; this.to = to;
this.cancel = false; this.cancel = false;