diff options
author | Jake Potrebic <[email protected]> | 2024-06-04 12:40:18 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2024-06-04 15:40:18 -0400 |
commit | 79c1ce184486847c614250e4e2025fd95a61cde5 (patch) | |
tree | 3ffc0ea329adc2c1f05a17e4a99ca1f4014d8121 /patches/api/0278-More-Enchantment-API.patch | |
parent | 4f13be937eda5ee18010b271474a91894348e3e4 (diff) | |
download | Paper-79c1ce184486847c614250e4e2025fd95a61cde5.tar.gz Paper-79c1ce184486847c614250e4e2025fd95a61cde5.zip |
Add since to deprecated for removals (#10848)
Diffstat (limited to 'patches/api/0278-More-Enchantment-API.patch')
-rw-r--r-- | patches/api/0278-More-Enchantment-API.patch | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/patches/api/0278-More-Enchantment-API.patch b/patches/api/0278-More-Enchantment-API.patch index 0ff08e7317..c1e4190cc3 100644 --- a/patches/api/0278-More-Enchantment-API.patch +++ b/patches/api/0278-More-Enchantment-API.patch @@ -8,13 +8,16 @@ Co-authored-by: Janet Blackquill <[email protected]> diff --git a/src/main/java/io/papermc/paper/enchantments/EnchantmentRarity.java b/src/main/java/io/papermc/paper/enchantments/EnchantmentRarity.java new file mode 100644 -index 0000000000000000000000000000000000000000..50c49739cc25679c9d241466e3069c9c232a22c4 +index 0000000000000000000000000000000000000000..aec3b41d7c3388e26fa203e3c062f1e6a6d0ba41 --- /dev/null +++ b/src/main/java/io/papermc/paper/enchantments/EnchantmentRarity.java -@@ -0,0 +1,25 @@ +@@ -0,0 +1,28 @@ +package io.papermc.paper.enchantments; + -+@Deprecated(forRemoval = true, since = "As of 1.20.5 enchantments do not have a rarity.") ++/** ++ * @deprecated Enchantments do not have a "rarity" since 1.20.5 ++ */ ++@Deprecated(forRemoval = true, since = "1.20.5") +public enum EnchantmentRarity { + + COMMON(10), |