From b85cc32fcccabf25edad020a121e5d807d33b68a Mon Sep 17 00:00:00 2001 From: md_5 Date: Thu, 3 Jan 2019 15:45:16 +1100 Subject: [PATCH] Further discourage World.regenerateChunk --- src/main/java/org/bukkit/World.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index fb6ccf28..aa0b073c 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -267,8 +267,9 @@ public interface World extends PluginMessageRecipient, Metadatable { * @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 regenerating a single chunk is not likely to produce the same + * chunk as before as terrain decoration may be spread across chunks. Use of + * this method should be avoided as it is known to produce buggy results. */ @Deprecated public boolean regenerateChunk(int x, int z);