Deprecate and add note to regenerateChunk method

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2018-08-07 13:14:06 +10:00
parent 61df111039
commit 1a6f5b7b2c

View File

@ -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);
/**