mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-16 04:33:56 -07:00
@@ -17,9 +17,9 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
|||||||
super(player, from, to);
|
super(player, from, to);
|
||||||
this.travelAgent = pta;
|
this.travelAgent = pta;
|
||||||
}
|
}
|
||||||
|
|
||||||
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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user