Package com.plotsquared.core.events
Class PlotFlagAddEvent
java.lang.Object
com.plotsquared.core.events.PlotEvent
com.plotsquared.core.events.PlotFlagEvent
com.plotsquared.core.events.PlotFlagAddEvent
- All Implemented Interfaces:
CancellablePlotEvent
Called when a Flag is added to a plot.
-
Constructor Summary
ConstructorDescriptionPlotFlagAddEvent
(PlotFlag<?, ?> flag, Plot plot) PlotFlagAddEvent: Called when a Flag is added to a plot. -
Method Summary
Methods inherited from class com.plotsquared.core.events.PlotFlagEvent
getFlag
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
-
PlotFlagAddEvent
PlotFlagAddEvent: Called when a Flag is added to a plot.- Parameters:
flag
- Flag that was addedplot
- Plot to which the flag was added
-
-
Method Details
-
getEventResult
- Specified by:
getEventResult
in interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResult
in interfaceCancellablePlotEvent
-