From 95512a4c0b2e258d50f93b131a60d37b6d79b9d8 Mon Sep 17 00:00:00 2001 From: NotMyFault Date: Thu, 10 Mar 2022 22:57:23 +0100 Subject: [PATCH] build: Release 2.1.0 --- build.gradle.kts | 4 ++-- gradle/libs.versions.toml | 2 +- .../com/fastasyncworldedit/bukkit/util/MinecraftVersion.java | 2 +- .../com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java | 2 +- .../com/fastasyncworldedit/core/queue/IBatchProcessor.java | 2 +- .../main/java/com/fastasyncworldedit/core/util/NbtUtils.java | 4 ++-- .../java/com/sk89q/worldedit/extension/platform/Platform.java | 4 ++-- .../main/java/com/sk89q/worldedit/regions/CuboidRegion.java | 2 +- .../java/com/sk89q/worldedit/world/chunk/AnvilChunk18.java | 4 ++-- .../com/sk89q/worldedit/world/storage/ChunkStoreHelper.java | 2 +- 10 files changed, 14 insertions(+), 14 deletions(-) diff --git a/build.gradle.kts b/build.gradle.kts index dd7377b18..c075e6fe4 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -22,7 +22,7 @@ logger.lifecycle(""" ******************************************* """) -var rootVersion by extra("2.0.2") +var rootVersion by extra("2.1.0") var snapshot by extra("SNAPSHOT") var revision: String by extra("") var buildNumber by extra("") @@ -40,7 +40,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/gradle/libs.versions.toml b/gradle/libs.versions.toml index 9d869cb47..43962a29c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -19,7 +19,7 @@ mcore = "7.0.1" residence = "4.5._13.1" towny = "0.97.5.0" protocollib = "4.7.0" -plotsquared = "6.6.0" +plotsquared = "6.6.1" redprotect = "1.9.6" # Third party diff --git a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/MinecraftVersion.java b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/MinecraftVersion.java index a3375c8fc..806af96d4 100644 --- a/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/MinecraftVersion.java +++ b/worldedit-bukkit/src/main/java/com/fastasyncworldedit/bukkit/util/MinecraftVersion.java @@ -61,7 +61,7 @@ public class MinecraftVersion implements Comparable { /** * Get the minecraft version that the server is currently running * - * @since TODO + * @since 2.1.0 */ public static MinecraftVersion getCurrent() { if (current == null) { diff --git a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java index 028cc1d1f..a34494ce5 100644 --- a/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java +++ b/worldedit-bukkit/src/main/java/com/sk89q/worldedit/bukkit/adapter/BukkitImplAdapter.java @@ -356,7 +356,7 @@ public interface BukkitImplAdapter extends IBukkitAdapter { * Returns an {@link IBatchProcessor} instance for post-processing of chunks to sort ticking of placed/existing blocks and * fluids if the plugin is configured to do so * - * @since TODO + * @since 2.1.0 */ default IBatchProcessor getTickingPostProcessor() { return null; diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBatchProcessor.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBatchProcessor.java index 87012c96e..4ee815292 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBatchProcessor.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/queue/IBatchProcessor.java @@ -37,7 +37,7 @@ public interface IBatchProcessor { * but MAY be flushed to history. Defaults to nothing as most Processors will not use it. If the post-processor will run * tasks asynchronously/not be blocking, use {@link IBatchProcessor#postProcessSet} to return a Future. * - * @since TODO + * @since 2.1.0 */ default void postProcess(IChunk chunk, IChunkGet get, IChunkSet set) { // Default to above for compatibility and to ensure whatever method is overridden by child classes is called diff --git a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java index e6dbee8e5..7abb51284 100644 --- a/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java +++ b/worldedit-core/src/main/java/com/fastasyncworldedit/core/util/NbtUtils.java @@ -46,7 +46,7 @@ public class NbtUtils { * @param key the key to look for * @return child tag * @throws InvalidFormatException if the format of the items is invalid - * @since TODO + * @since 2.1.0 */ public static int getInt(CompoundBinaryTag tag, String key) throws InvalidFormatException { BinaryTag childTag = tag.get(key); @@ -72,7 +72,7 @@ public class NbtUtils { * * @param tag {@link CompoundBinaryTag} to get values for * @return Mutable map of values - * @since TODO + * @since 2.1.0 */ public static Map getCompoundBinaryTagValues(CompoundBinaryTag tag) { Map value = new HashMap<>(); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java index 3e17cf91e..822e7a3f8 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/extension/platform/Platform.java @@ -252,7 +252,7 @@ public interface Platform extends Keyed { /** * Get a {@link IBatchProcessor} to be used in edit processing. Null if not required. - * @since TODO + * @since 2.1.0 */ @Nullable default IBatchProcessor getPlatformProcessor(boolean fastMode) { @@ -262,7 +262,7 @@ public interface Platform extends Keyed { /** * Get a {@link IBatchProcessor} to be used in edit post-processing. Used for things such as tick-placed and tick fluids. * Null if not required. - * @since TODO + * @since 2.1.0 */ @Nullable default IBatchProcessor getPlatformPostProcessor(boolean fastMode) { diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java b/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java index a15385962..d7d285212 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/regions/CuboidRegion.java @@ -93,7 +93,7 @@ public class CuboidRegion extends AbstractRegion implements FlatRegion { * @param pos1 the first position * @param pos2 the second position * @param clampY if the min/max Y of the region should be clamped to the world - * @since TODO + * @since 2.1.0 */ public CuboidRegion(World world, BlockVector3 pos1, BlockVector3 pos2, boolean clampY) { super(world); diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/AnvilChunk18.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/AnvilChunk18.java index 018ca46ab..bb18e8ed5 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/AnvilChunk18.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/chunk/AnvilChunk18.java @@ -83,7 +83,7 @@ public class AnvilChunk18 implements Chunk { * @param tag the tag to read * @throws DataException on a data error * @deprecated Use {@link AnvilChunk18#AnvilChunk18(CompoundBinaryTag, Supplier)} - * @since TODO + * @since 2.1.0 */ @Deprecated public AnvilChunk18(CompoundTag tag, Supplier entitiesTag) throws DataException { @@ -99,7 +99,7 @@ public class AnvilChunk18 implements Chunk { * * @param tag the tag to read * @throws DataException on a data error - * @since TODO + * @since 2.1.0 */ public AnvilChunk18(CompoundBinaryTag tag, Supplier entityTag) throws DataException { //FAWE end diff --git a/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/ChunkStoreHelper.java b/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/ChunkStoreHelper.java index 9c264d7b9..58692732f 100644 --- a/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/ChunkStoreHelper.java +++ b/worldedit-core/src/main/java/com/sk89q/worldedit/world/storage/ChunkStoreHelper.java @@ -85,7 +85,7 @@ public class ChunkStoreHelper { * location * @return a Chunk implementation * @throws DataException if the rootTag is not valid chunk data - * @since TODO + * @since 2.1.0 */ public static Chunk getChunk(CompoundTag rootTag, Supplier entitiesTag) throws DataException { //FAWE end