Deprecate dangerous method paramater used for unsafe chunk unloads.

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2016-03-19 14:40:51 +11:00
parent be6bf9597a
commit 8240f951ab

View file

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