From 5021f5b37937dc8f1738cbd9f2fab2c1e3c7dc5c Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Mon, 22 Jan 2024 20:32:39 +0100 Subject: [PATCH] Release 7.3.2 Signed-off-by: Alexander Brandes --- .../com/plotsquared/core/events/CancellablePlotEvent.java | 2 +- .../com/plotsquared/core/events/PlayerBuyPlotEvent.java | 6 +++--- .../core/events/post/PostPlayerBuyPlotEvent.java | 2 +- .../plotsquared/core/events/post/PostPlotClearEvent.java | 2 +- build.gradle.kts | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Core/src/main/java/com/plotsquared/core/events/CancellablePlotEvent.java b/Core/src/main/java/com/plotsquared/core/events/CancellablePlotEvent.java index ed777dd23..832fdf641 100644 --- a/Core/src/main/java/com/plotsquared/core/events/CancellablePlotEvent.java +++ b/Core/src/main/java/com/plotsquared/core/events/CancellablePlotEvent.java @@ -43,7 +43,7 @@ public interface CancellablePlotEvent { /** * @deprecated No usage and not null-safe */ - @Deprecated(since = "TODO") + @Deprecated(since = "7.3.2") default int getEventResultRaw() { return getEventResult() != null ? getEventResult().getValue() : -1; } diff --git a/Core/src/main/java/com/plotsquared/core/events/PlayerBuyPlotEvent.java b/Core/src/main/java/com/plotsquared/core/events/PlayerBuyPlotEvent.java index ecc46b3fb..70371ff3f 100644 --- a/Core/src/main/java/com/plotsquared/core/events/PlayerBuyPlotEvent.java +++ b/Core/src/main/java/com/plotsquared/core/events/PlayerBuyPlotEvent.java @@ -32,7 +32,7 @@ import org.checkerframework.checker.nullness.qual.Nullable; *

* Setting the {@link #setPrice(double) price} to {@code 0} makes the plot practically free. * - * @since TODO + * @since 7.3.2 */ public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePlotEvent { @@ -49,7 +49,7 @@ public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePl * Sets the price required to buy the plot. * * @param price the new price. - * @since TODO + * @since 7.3.2 */ public void setPrice(@NonNegative final double price) { //noinspection ConstantValue - the annotation does not ensure a non-negative runtime value @@ -63,7 +63,7 @@ public class PlayerBuyPlotEvent extends PlotPlayerEvent implements CancellablePl * Returns the currently set price required to buy the plot. * * @return the price. - * @since TODO + * @since 7.3.2 */ public @NonNegative double price() { return price; diff --git a/Core/src/main/java/com/plotsquared/core/events/post/PostPlayerBuyPlotEvent.java b/Core/src/main/java/com/plotsquared/core/events/post/PostPlayerBuyPlotEvent.java index e9d6f17bb..2bf1c759b 100644 --- a/Core/src/main/java/com/plotsquared/core/events/post/PostPlayerBuyPlotEvent.java +++ b/Core/src/main/java/com/plotsquared/core/events/post/PostPlayerBuyPlotEvent.java @@ -27,7 +27,7 @@ import org.checkerframework.checker.index.qual.NonNegative; /** * Called after a player has successfully bought a plot. * - * @since TODO + * @since 7.3.2 */ public class PostPlayerBuyPlotEvent extends PlotPlayerEvent { diff --git a/Core/src/main/java/com/plotsquared/core/events/post/PostPlotClearEvent.java b/Core/src/main/java/com/plotsquared/core/events/post/PostPlotClearEvent.java index c1c461e25..cdd5ad0dd 100644 --- a/Core/src/main/java/com/plotsquared/core/events/post/PostPlotClearEvent.java +++ b/Core/src/main/java/com/plotsquared/core/events/post/PostPlotClearEvent.java @@ -25,7 +25,7 @@ import com.plotsquared.core.plot.Plot; /** * Called after a {@link Plot} was cleared. * - * @since TODO + * @since 7.3.2 */ public class PostPlotClearEvent extends PlotPlayerEvent { diff --git a/build.gradle.kts b/build.gradle.kts index dd52cc123..e390c0992 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,7 +22,7 @@ plugins { } group = "com.intellectualsites.plotsquared" -version = "7.3.2-SNAPSHOT" +version = "7.3.2" if (!File("$rootDir/.git").exists()) { logger.lifecycle("""