diff options
author | md_5 <git@md-5.net> | 2018-08-07 13:14:06 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2018-08-07 13:14:06 +1000 |
commit | dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b (patch) | |
tree | 3905050c41e1db8057df2e7c0ef80a832df18deb | |
parent | 97d31e64a5e4206b4c191f1d313d7c5fc5db88e4 (diff) | |
download | bukkit-dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b.tar bukkit-dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b.tar.gz bukkit-dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b.tar.lz bukkit-dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b.tar.xz bukkit-dd18c0fcfbbb0d7ea34d9bd0bf0366041f49bd0b.zip |
Deprecate and add note to regenerateChunk method
-rw-r--r-- | src/main/java/org/bukkit/World.java | 4 |
1 files changed, 4 insertions, 0 deletions
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); /** |