Search in sources :

Example 1 with PlayerLeavePlotEvent

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

the class EventDispatcher method callLeave.

public PlayerLeavePlotEvent callLeave(PlotPlayer<?> player, Plot plot) {
    PlayerLeavePlotEvent event = new PlayerLeavePlotEvent(player, plot);
    callEvent(event);
    return event;
}
Also used : PlayerLeavePlotEvent(com.plotsquared.core.events.PlayerLeavePlotEvent)

Aggregations

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