aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch')
-rw-r--r--patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch b/patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch
index b8287d2850..475ca65bbf 100644
--- a/patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch
+++ b/patches/api/0392-Replace-ItemFlag.HIDE_POTION_EFFECTS.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Replace ItemFlag.HIDE_POTION_EFFECTS
diff --git a/src/main/java/org/bukkit/inventory/ItemFlag.java b/src/main/java/org/bukkit/inventory/ItemFlag.java
-index 1b3580d1861af402396121805715e4087b3bc587..a435f6c8947e4ac50b8c04f37b107055970937dd 100644
+index 1b3580d1861af402396121805715e4087b3bc587..5b8dac777bb1640dc00bbe98feb6460c36eebb98 100644
--- a/src/main/java/org/bukkit/inventory/ItemFlag.java
+++ b/src/main/java/org/bukkit/inventory/ItemFlag.java
@@ -38,4 +38,27 @@ public enum ItemFlag {
@@ -32,7 +32,7 @@ index 1b3580d1861af402396121805715e4087b3bc587..a435f6c8947e4ac50b8c04f37b107055
+ * </ul>
+ * @deprecated use {@link #HIDE_ADDITIONAL_TOOLTIP}
+ */
-+ @Deprecated
++ @Deprecated(since = "1.20.5")
+ public static final ItemFlag HIDE_ITEM_SPECIFICS = HIDE_ADDITIONAL_TOOLTIP;
+ // Paper end
}