Search in sources :

Example 1 with PlayerAutoPlotsChosenEvent

use of com.plotsquared.core.events.PlayerAutoPlotsChosenEvent in project PlotSquared by IntellectualSites.

the class EventDispatcher method callAutoPlotsChosen.

public PlayerAutoPlotsChosenEvent callAutoPlotsChosen(PlotPlayer<?> player, List<Plot> plots) {
    PlayerAutoPlotsChosenEvent event = new PlayerAutoPlotsChosenEvent(player, plots);
    callEvent(event);
    return event;
}
Also used : PlayerAutoPlotsChosenEvent(com.plotsquared.core.events.PlayerAutoPlotsChosenEvent)

Aggregations

PlayerAutoPlotsChosenEvent (com.plotsquared.core.events.PlayerAutoPlotsChosenEvent)1