mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-08-31 22:22:49 +00:00
Deprecate dangerous method paramater used for unsafe chunk unloads.
This commit is contained in:
parent
5a1a8ef5ad
commit
a8f906efa0
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
|
* @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…
Add table
Reference in a new issue