From dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 7 Aug 2018 13:14:06 +1000 Subject: Deprecate and add note to regenerateChunk method --- src/main/java/org/bukkit/World.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index f18dff83..ecfdecaa 100644 --- a/src/main/java/org/bukkit/World.java +++ b/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); /** -- cgit v1.2.3