use of com.plotsquared.core.events.post.PostPlotChangeOwnerEvent in project PlotSquared by IntellectualSites.
the class EventDispatcher method callPostOwnerChange.
public PostPlotChangeOwnerEvent callPostOwnerChange(PlotPlayer<?> player, Plot plot, @Nullable UUID oldOwner) {
PostPlotChangeOwnerEvent event = new PostPlotChangeOwnerEvent(player, plot, oldOwner);
callEvent(event);
return event;
}
Aggregations