From 1a6f5b7b2c3fd8c64b1fb944ea7e50806cefecd5 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Tue, 7 Aug 2018 13:14:06 +1000 Subject: [PATCH] Deprecate and add note to regenerateChunk method By: md_5 --- paper-api/src/main/java/org/bukkit/World.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index f18dff83a6..ecfdecaa27 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -254,7 +254,11 @@ public interface World extends PluginMessageRecipient, Metadatable { * @param x X-coordinate of the chunk * @param z Z-coordinate of the chunk * @return Whether the chunk was actually regenerated + * + * @deprecated regenerating a single chunk is not guaranteed to produce the + * same chunk as before as terrain decoration may be spread across chunks */ + @Deprecated public boolean regenerateChunk(int x, int z); /**