mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Further discourage World.regenerateChunk
This commit is contained in:
parent
6ffe5a68d1
commit
b85cc32fcc
1 changed files with 3 additions and 2 deletions
|
@ -267,8 +267,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
||||||
* @param z Z-coordinate of the chunk
|
* @param z Z-coordinate of the chunk
|
||||||
* @return Whether the chunk was actually regenerated
|
* @return Whether the chunk was actually regenerated
|
||||||
*
|
*
|
||||||
* @deprecated regenerating a single chunk is not guaranteed to produce the
|
* @deprecated regenerating a single chunk is not likely to produce the same
|
||||||
* same chunk as before as terrain decoration may be spread across chunks
|
* 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
|
@Deprecated
|
||||||
public boolean regenerateChunk(int x, int z);
|
public boolean regenerateChunk(int x, int z);
|
||||||
|
|
Loading…
Add table
Reference in a new issue