Deprecate dangerous method paramater used for unsafe chunk unloads.

This commit is contained in:
md_5 2016-03-19 14:40:51 +11:00
parent 5a1a8ef5ad
commit a8f906efa0

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