Package com.plotsquared.core.events
Class PlotAutoMergeEvent
java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlotAutoMergeEvent
- All Implemented Interfaces:
CancellablePlotEvent
Event called when plots are automatically merged with /plot auto
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.plotsquared.core.events.PlotEvent
getEventName, getPlotMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.plotsquared.core.events.CancellablePlotEvent
getEventResultRaw
-
Constructor Details
-
PlotAutoMergeEvent
PlotAutoMergeEvent: Called when plots are automatically merged with /plot auto- Parameters:
world- World in which the event occurredplot- Plot that was mergedplots- A list of plots involved in the event
-
-
Method Details
-
getPlots
Get the plots being added.- Returns:
- Unmodifiable list containing the merging plots
-
getEventResult
Description copied from interface:CancellablePlotEventThe currently setResultfor this event (as set by potential previous event listeners).- Specified by:
getEventResultin interfaceCancellablePlotEvent- Returns:
- the current result.
-
setEventResult
Description copied from interface:CancellablePlotEventSet theResultfor this event.- Specified by:
setEventResultin interfaceCancellablePlotEvent- Parameters:
e- the new result.
-
getWorld
-