Add note about PlayerPlotAutoEvent return null plot

This commit is contained in:
dordsor21 2021-06-12 11:36:33 +01:00
parent e2700d3b28
commit b01291c4ff
No known key found for this signature in database
GPG Key ID: 1E53E88969FFCF0B

View File

@ -33,6 +33,9 @@ import lombok.Setter;
import javax.annotation.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 Result eventResult;