mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2025-07-23 15:50:29 +02:00
Add note about PlayerPlotAutoEvent return null plot
This commit is contained in:
@@ -30,6 +30,9 @@ import com.plotsquared.core.player.PlotPlayer;
|
|||||||
import com.plotsquared.core.plot.PlotArea;
|
import com.plotsquared.core.plot.PlotArea;
|
||||||
import org.checkerframework.checker.nullness.qual.Nullable;
|
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 {
|
public class PlayerAutoPlotEvent extends PlotEvent implements CancellablePlotEvent {
|
||||||
|
|
||||||
private final PlotPlayer<?> player;
|
private final PlotPlayer<?> player;
|
||||||
|
Reference in New Issue
Block a user