mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-02 11:22:01 +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
@ -242,7 +242,9 @@ public interface World extends PluginMessageRecipient, Metadatable {
|
|||||||
* @param safe Controls whether to unload the chunk when players are
|
* @param safe Controls whether to unload the chunk when players are
|
||||||
* nearby
|
* nearby
|
||||||
* @return true if the chunk has unloaded successfully, otherwise false
|
* @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);
|
public boolean unloadChunk(int x, int z, boolean save, boolean safe);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user