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
-
Method Summary
Methods inherited from class com.plotsquared.core.events.PlotEvent
getEventName, getPlot
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getEventResult
in interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResult
in interfaceCancellablePlotEvent
-
getWorld
-