mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Add note about PlayerPlotAutoEvent return null plot
This commit is contained in:
parent
3cd9b76805
commit
a9d896eb45
@ -30,6 +30,9 @@ import com.plotsquared.core.player.PlotPlayer;
|
||||
import com.plotsquared.core.plot.PlotArea;
|
||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
||||
|
||||
/**
|
||||
* PlayerAutoPlotEvent returns null for {@code PlotEvent.getPlot()} as the event is fired before the plot is chosen.
|
||||
*/
|
||||
public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEvent {
|
||||
|
||||
private final PlotPlayer<?> player;
|
||||
|
Loading…
Reference in New Issue
Block a user