mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 03:43:40 +01:00
Deprecate dangerous method paramater used for unsafe chunk unloads.
By: md_5 <git@md-5.net>
This commit is contained in:
parent
be6bf9597a
commit
8240f951ab
1 changed files with 2 additions and 0 deletions
|
@ -242,7 +242,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|||
* @param safe Controls whether to unload the chunk when players are
|
||||
* nearby
|
||||
* @return true if the chunk has unloaded successfully, otherwise false
|
||||
* @deprecated it is never safe to remove a chunk in use
|
||||
*/
|
||||
@Deprecated
|
||||
public boolean unloadChunk(int x, int z, boolean save, boolean safe);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue