diff options
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), |