From 6a806646214f1f9020a2b11b862c9cc22da7ca72 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Mon, 14 Jan 2019 21:01:38 +1100 Subject: [PATCH] Fix variant of unloadChunkRequest that was incorrectly never deprecated By: md_5 --- paper-api/src/main/java/org/bukkit/World.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/World.java b/paper-api/src/main/java/org/bukkit/World.java index aa0b073cf6..4bd2ea8890 100644 --- a/paper-api/src/main/java/org/bukkit/World.java +++ b/paper-api/src/main/java/org/bukkit/World.java @@ -257,7 +257,9 @@ public interface World extends PluginMessageRecipient, Metadatable { * @param z Z-coordinate of the chunk * @param safe Controls whether to queue the chunk when players are nearby * @return Whether the chunk was actually queued + * @deprecated it is never safe to remove a chunk in use */ + @Deprecated public boolean unloadChunkRequest(int x, int z, boolean safe); /**