From 57875885000338934b39dcbc6dafda7762121b16 Mon Sep 17 00:00:00 2001 From: Alexander Brandes Date: Mon, 23 Jan 2023 13:18:20 +0100 Subject: [PATCH] Move BukkitPlotGenerator#generateChunkData() deprecation from v7 to v6 --- .../plotsquared/bukkit/generator/BukkitPlotGenerator.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java b/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java index 38e29ef3b..a9f0c43b0 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/generator/BukkitPlotGenerator.java @@ -161,6 +161,12 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap world.setWaterAnimalSpawnLimit(limit); } + /** + * The entire method is deprecated, but kept for compatibility with <=1.16.2. + * The method will be removed in future versions, because WorldEdit and FastAsyncWorldEdit only support the latest point + * release. + */ + @Deprecated(forRemoval = true, since = "TODO") @Override public @NonNull ChunkData generateChunkData( @NonNull World world, @NonNull Random random, int x, int z,