From b9403026cd01e4a1a7cc20fa9df52a35726d1d86 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Sat, 19 Mar 2016 14:43:15 +1100 Subject: [PATCH] Extend depreaction to Chunk class. By: md_5 --- paper-api/src/main/java/org/bukkit/Chunk.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/Chunk.java b/paper-api/src/main/java/org/bukkit/Chunk.java index 051015176..f39aabcb2 100644 --- a/paper-api/src/main/java/org/bukkit/Chunk.java +++ b/paper-api/src/main/java/org/bukkit/Chunk.java @@ -104,7 +104,9 @@ public interface Chunk { * @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 boolean unload(boolean save, boolean safe); /**