use of com.plotsquared.core.events.PlayerTeleportToPlotEvent in project PlotSquared by IntellectualSites.
the class EventDispatcher method callTeleport.
public PlayerTeleportToPlotEvent callTeleport(PlotPlayer<?> player, Location from, Plot plot, TeleportCause cause) {
PlayerTeleportToPlotEvent event = new PlayerTeleportToPlotEvent(player, from, plot, cause);
callEvent(event);
return event;
}
Aggregations