diff options
author | md_5 <git@md-5.net> | 2016-03-19 14:40:51 +1100 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-03-19 14:40:51 +1100 |
commit | a8f906efa0eb06d1d32d6ac12874933d59871b78 (patch) | |
tree | f1181e4625e89deed6a760e6cdf1027be1ee66b7 /src | |
parent | 5a1a8ef5ad40aeeaab05232668d0a045c8ae38c3 (diff) | |
download | bukkit-a8f906efa0eb06d1d32d6ac12874933d59871b78.tar bukkit-a8f906efa0eb06d1d32d6ac12874933d59871b78.tar.gz bukkit-a8f906efa0eb06d1d32d6ac12874933d59871b78.tar.lz bukkit-a8f906efa0eb06d1d32d6ac12874933d59871b78.tar.xz bukkit-a8f906efa0eb06d1d32d6ac12874933d59871b78.zip |
Deprecate dangerous method paramater used for unsafe chunk unloads.
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/org/bukkit/World.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index 1e150d10..9d71de4b 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -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); /** |