mirror of
https://github.com/PaperMC/Paper.git
synced 2026-11-24 18:09:41 -05:00
1 parent
c2e4349767
commit
27fb3d2fea
1 file changed
+2
-2
@@ -17,9 +17,9 @@ public class PlayerPortalEvent extends PlayerTeleportEvent {
|
||||
super(player, from, to);
|
||||
this.travelAgent = pta;
|
||||
}
|
||||
|
||||
|
||||
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user