13
0
geforkt von Mirrors/Paper

Fixed PlayerPortalEvent constructor.

By: EvilSeph <evilseph@gmail.com>
Dieser Commit ist enthalten in:
Bukkit/Spigot 2012-02-29 14:27:05 -05:00
Ursprung c2e4349767
Commit 27fb3d2fea

Datei anzeigen

@ -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;
}