Search in sources :

Example 1 with PlayerPlotDeniedEvent

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

the class EventDispatcher method callDenied.

public PlayerPlotDeniedEvent callDenied(PlotPlayer<?> initiator, Plot plot, UUID player, boolean added) {
    PlayerPlotDeniedEvent event = new PlayerPlotDeniedEvent(initiator, plot, player, added);
    callEvent(event);
    return event;
}
Also used : PlayerPlotDeniedEvent(com.plotsquared.core.events.PlayerPlotDeniedEvent)

Aggregations

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