From d1b1c6ffd93203d0b67a5b186bfff233d8aee1c9 Mon Sep 17 00:00:00 2001 From: Jake Potrebic Date: Thu, 16 Jun 2022 15:19:47 -0700 Subject: [PATCH] Add missing deprecation to AdvancementDisplayType (#7876) --- patches/api/0333-Add-advancement-display-API.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/patches/api/0333-Add-advancement-display-API.patch b/patches/api/0333-Add-advancement-display-API.patch index ad65b9eb8..e335bdcf9 100644 --- a/patches/api/0333-Add-advancement-display-API.patch +++ b/patches/api/0333-Add-advancement-display-API.patch @@ -232,3 +232,17 @@ index 0ff86a39025a94ca128364a45bf171728cb81027..aec6be7e121da3eb8a464b6934da29ab public interface AdvancementDisplay { /** +diff --git a/src/main/java/org/bukkit/advancement/AdvancementDisplayType.java b/src/main/java/org/bukkit/advancement/AdvancementDisplayType.java +index d6640a9ebb30195abf4570dfd30a320fa4636995..f6e1a6c1bb7b99a391dec73c9707840214988fc6 100644 +--- a/src/main/java/org/bukkit/advancement/AdvancementDisplayType.java ++++ b/src/main/java/org/bukkit/advancement/AdvancementDisplayType.java +@@ -8,7 +8,9 @@ import org.jetbrains.annotations.NotNull; + * + * This enum contains information about these types and how they are + * represented. ++ * @deprecated use {@link io.papermc.paper.advancement.AdvancementDisplay.Frame} + */ ++@Deprecated(forRemoval = true) + public enum AdvancementDisplayType { + + /**