From 45c470ee2a5297a0a197c72e73a140becd9e63bc Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 3 Jan 2019 15:45:16 +1100 Subject: [PATCH] Further discourage World.regenerateChunk By: md_5 --- paper-api/src/main/java/org/bukkit/World.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index fb6ccf28cb..aa0b073cf6 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/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);