Updated EntityTeleportEvent in line with deprecation cleanup.
This commit is contained in:
parent
049a7cc1d0
commit
6ec92480a7
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user