mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 09:42:06 -07:00
Add since to deprecated for removals (#10848)
This commit is contained in:
@@ -18,7 +18,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * designed and was originally broken.
|
||||
*/
|
||||
@NotNull
|
||||
+ @Deprecated // Paper
|
||||
+ @Deprecated(since = "1.19.3") // Paper
|
||||
ItemStack enchantItem(@NotNull final Entity entity, @NotNull final ItemStack item, final int level, final boolean allowTreasures);
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * designed and was originally broken.
|
||||
*/
|
||||
@NotNull
|
||||
+ @Deprecated // Paper
|
||||
+ @Deprecated(since = "1.19.3") // Paper
|
||||
ItemStack enchantItem(@NotNull final World world, @NotNull final ItemStack item, final int level, final boolean allowTreasures);
|
||||
|
||||
/**
|
||||
@@ -42,7 +42,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
|
||||
+ * designed and was originally broken.
|
||||
*/
|
||||
@NotNull
|
||||
+ @Deprecated // Paper
|
||||
+ @Deprecated(since = "1.19.3") // Paper
|
||||
ItemStack enchantItem(@NotNull final ItemStack item, final int level, final boolean allowTreasures);
|
||||
|
||||
// Paper start - Adventure
|
||||
|
Reference in New Issue
Block a user