Move BukkitPlotGenerator#generateChunkData() deprecation from v7 to v6

This commit is contained in:
Alexander Brandes 2023-01-23 13:18:20 +01:00
parent b40383b5a4
commit 5787588500
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -161,6 +161,12 @@ public class BukkitPlotGenerator extends ChunkGenerator implements GeneratorWrap
world.setWaterAnimalSpawnLimit(limit); 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 @Override
public @NonNull ChunkData generateChunkData( public @NonNull ChunkData generateChunkData(
@NonNull World world, @NonNull Random random, int x, int z, @NonNull World world, @NonNull Random random, int x, int z,