Fixed PlayerPortalEvent constructor.

This commit is contained in:
EvilSeph 2012-02-29 14:27:05 -05:00
parent 42d8d07051
commit 925bf6498c

View File

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