From 28fb77eb20335e31f14f09093c231465bd180f46 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Tue, 19 Nov 2024 17:51:43 +0100 Subject: [PATCH] Release 2.12.1 Signed-off-by: Alexander Brandes --- build.gradle.kts | 2 +- .../src/main/java/com/fastasyncworldedit/core/Fawe.java | 8 ++++---- .../java/com/sk89q/worldedit/world/block/BlockType.java | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index aa979af3fc..f8b90d3d51 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -52,7 +52,7 @@ ext { } } -version = String.format("%s-%s", rootVersion, buildNumber) +version = String.format("%s", rootVersion) if (!project.hasProperty("gitCommitHash")) { apply(plugin = "org.ajoberstar.grgit") diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/Fawe.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/Fawe.java index 6238ea1ea7..f20482f23e 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/Fawe.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/Fawe.java @@ -469,7 +469,7 @@ public Thread setMainThread() { * {@link Fawe#submitUUIDKeyQueuedTask(UUID, Runnable, Object), {@link Fawe#submitUUIDKeyQueuedTask(UUID, Callable)} * to ensure if a thread is already a UUID-queued thread, the task is immediately run */ - @Deprecated(forRemoval = true, since = "TODO") + @Deprecated(forRemoval = true, since = "2.12.1") public KeyQueuedExecutorService getClipboardExecutor() { return this.uuidKeyQueuedExecutorService; } @@ -478,7 +478,7 @@ public KeyQueuedExecutorService getClipboardExecutor() { * Submit a task to the UUID key-queued executor * * @return Future representing the tank - * @since TODO + * @since 2.12.1 */ public Future submitUUIDKeyQueuedTask(UUID uuid, Runnable runnable) { if (Thread.currentThread() instanceof UUIDKeyQueuedThreadFactory.UUIDKeyQueuedThread) { @@ -492,7 +492,7 @@ public Future submitUUIDKeyQueuedTask(UUID uuid, Runnable runnable) { * Submit a task to the UUID key-queued executor * * @return Future representing the tank - * @since TODO + * @since 2.12.1 */ public Future submitUUIDKeyQueuedTask(UUID uuid, Runnable runnable, T result) { if (Thread.currentThread() instanceof UUIDKeyQueuedThreadFactory.UUIDKeyQueuedThread) { @@ -506,7 +506,7 @@ public Future submitUUIDKeyQueuedTask(UUID uuid, Runnable runnable, T res * Submit a task to the UUID key-queued executor * * @return Future representing the tank - * @since TODO + * @since 2.12.1 */ public Future submitUUIDKeyQueuedTask(UUID uuid, Callable callable) { if (Thread.currentThread() instanceof UUIDKeyQueuedThreadFactory.UUIDKeyQueuedThread) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java index eb53032b21..4592c7ce2c 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/block/BlockType.java @@ -251,7 +251,7 @@ public boolean hasProperty(PropertyKey key) { * {@return whether this block type has a given property} * * @param property the expected property - * @since TODO + * @since 2.12.1 */ public boolean hasProperty(Property property) { int ordinal = property.getKey().getId();