From c7bfd48a21bfbc36c13bd2cbe4207eb10b01b5a1 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Mon, 9 Oct 2023 17:03:09 +0200 Subject: [PATCH] Release 7.1.0 --- .../bukkit/entity/ReplicatingEntityWrapper.java | 12 ++++++------ .../java/com/plotsquared/core/player/PlotPlayer.java | 4 ++-- .../com/plotsquared/core/util/PlayerManager.java | 6 +++--- build.gradle.kts | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/entity/ReplicatingEntityWrapper.java b/Bukkit/src/main/java/com/plotsquared/bukkit/entity/ReplicatingEntityWrapper.java index 8b6951ab8..43202f34d 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/entity/ReplicatingEntityWrapper.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/entity/ReplicatingEntityWrapper.java @@ -385,9 +385,9 @@ public final class ReplicatingEntityWrapper extends EntityWrapper { /** * @deprecated Use {@link #restoreBreedable(Breedable)} instead - * @since TODO + * @since 7.1.0 */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "7.1.0") private void restoreAgeable(Ageable entity) { if (!this.aged.adult) { entity.setBaby(); @@ -400,9 +400,9 @@ public final class ReplicatingEntityWrapper extends EntityWrapper { /** * @deprecated Use {@link #storeBreedable(Breedable)} instead - * @since TODO + * @since 7.1.0 */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "7.1.0") public void storeAgeable(Ageable aged) { this.aged = new AgeableStats(); this.aged.age = aged.getAge(); @@ -411,7 +411,7 @@ public final class ReplicatingEntityWrapper extends EntityWrapper { } /** - * @since TODO + * @since 7.1.0 */ private void restoreBreedable(Breedable entity) { if (!this.aged.adult) { @@ -424,7 +424,7 @@ public final class ReplicatingEntityWrapper extends EntityWrapper { } /** - * @since TODO + * @since 7.1.0 */ private void storeBreedable(Breedable breedable) { this.aged = new AgeableStats(); diff --git a/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java b/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java index 9934c24a5..10e68174b 100644 --- a/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java +++ b/Core/src/main/java/com/plotsquared/core/player/PlotPlayer.java @@ -960,7 +960,7 @@ public abstract class PlotPlayer

implements CommandCaller, OfflinePlotPlayer, * @param caption Caption to send * @param asyncReplacement Async variable replacement * @return A Future to be resolved, after the message was sent - * @since TODO + * @since 7.1.0 */ public final CompletableFuture sendMessage( @NonNull Caption caption, @@ -976,7 +976,7 @@ public abstract class PlotPlayer

implements CommandCaller, OfflinePlotPlayer, * @param asyncReplacements Async variable replacements * @param replacements Sync variable replacements * @return A Future to be resolved, after the message was sent - * @since TODO + * @since 7.1.0 */ public final CompletableFuture sendMessage( @NonNull Caption caption, diff --git a/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java b/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java index 47354a184..0d5f66e22 100644 --- a/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java +++ b/Core/src/main/java/com/plotsquared/core/util/PlayerManager.java @@ -174,7 +174,7 @@ public abstract class PlayerManager

, T> { * @since 6.4.0 * @deprecated Don't unnecessarily block threads and utilize playerMap - see {@link #getUsernameCaption(UUID)} */ - @Deprecated(since = "TODO") + @Deprecated(since = "7.1.0") public static @NonNull Caption resolveName(final @Nullable UUID owner) { return resolveName(owner, true); } @@ -188,7 +188,7 @@ public abstract class PlayerManager

, T> { * @since 6.4.0 * @deprecated Don't unnecessarily block threads and utilize playerMap - see {@link #getUsernameCaption(UUID)} */ - @Deprecated(since = "TODO") + @Deprecated(since = "7.1.0") public static @NonNull Caption resolveName(final @Nullable UUID owner, final boolean blocking) { if (owner == null) { return TranslatableCaption.of("info.none"); @@ -237,7 +237,7 @@ public abstract class PlayerManager

, T> { * * @param uuid The UUID of the player (for example provided by {@link Plot#getOwner()} * @return A CompletableFuture resolving to a Caption representing the players name of the uuid - * @since TODO + * @since 7.1.0 */ @Contract("_->!null") public @NonNull CompletableFuture getUsernameCaption(@Nullable UUID uuid) { diff --git a/build.gradle.kts b/build.gradle.kts index 097e4fb0f..411d9a01b 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,7 +22,7 @@ plugins { } group = "com.intellectualsites.plotsquared" -version = "7.0.1-SNAPSHOT" +version = "7.1.0" if (!File("$rootDir/.git").exists()) { logger.lifecycle("""