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
- Specified by:
getEventResultin interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResultin interfaceCancellablePlotEvent
-
getWorld
-