From a8c7c8a3026f4e8c13860b4cde9b4cd110876c41 Mon Sep 17 00:00:00 2001 From: Bukkit/Spigot Date: Thu, 8 Jun 2023 16:57:41 +1000 Subject: [PATCH] Switch Player#updateInventory deprecation for internal API annotation By: md_5 --- paper-api/src/main/java/org/bukkit/entity/Player.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/Player.java b/paper-api/src/main/java/org/bukkit/entity/Player.java index c7dff73c64..3c8e37b371 100644 --- a/paper-api/src/main/java/org/bukkit/entity/Player.java +++ b/paper-api/src/main/java/org/bukkit/entity/Player.java @@ -740,10 +740,10 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM /** * Forces an update of the player's entire inventory. * - * @deprecated This method should not be relied upon as it is a temporary - * work-around for a larger, more complicated issue. + * @apiNote It should not be necessary for plugins to use this method. If it + * is required for some reason, it is probably a bug. */ - @Deprecated + @ApiStatus.Internal public void updateInventory(); /**