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
ConstructorsConstructorDescriptionPlotFlagAddEvent(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
getFlagMethods 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
-
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:
getEventResultin interfaceCancellablePlotEvent
-
setEventResult
- Specified by:
setEventResultin interfaceCancellablePlotEvent
-