Deprecate and add note to regenerateChunk method

This commit is contained in:
md_5 2018-08-07 13:14:06 +10:00
parent 97d31e64a5
commit dd18c0fcfb

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