mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-19 21:48:48 +01:00
Fixed PlayerPortalEvent constructor.
By: EvilSeph <evilseph@gmail.com>
This commit is contained in:
parent
c2e4349767
commit
27fb3d2fea
1 changed files with 2 additions and 2 deletions
|
@ -19,7 +19,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
||||||
}
|
}
|
||||||
|
|
||||||
public PlayerPortalEvent(Player player, Location from, Location to, TravelAgent pta, TeleportCause cause) {
|
public PlayerPortalEvent(Player player, Location from, Location to, TravelAgent pta, TeleportCause cause) {
|
||||||
super(Type.PLAYER_PORTAL, player, from, to, cause);
|
super(player, from, to, cause);
|
||||||
this.travelAgent = pta;
|
this.travelAgent = pta;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue