Fixed PlayerPortalEvent constructor.
This commit is contained in:
parent
42d8d07051
commit
925bf6498c
@ -19,7 +19,7 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
||||
}
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user