diff --git a/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java b/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java index 83efaa1689..a243b538d2 100644 --- a/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java +++ b/paper-api/src/main/java/org/bukkit/event/player/PlayerPortalEvent.java @@ -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; }