mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Updated EntityTeleportEvent in line with deprecation cleanup.
This commit is contained in:
parent
049a7cc1d0
commit
6ec92480a7
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue