Add some missing deprecation annotations

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2024-04-25 10:27:43 +10:00
parent 374841b40f
commit 1ba56ce1ca
7 changed files with 8 additions and 0 deletions

View File

@@ -67,6 +67,7 @@ public class ItemStack implements Cloneable, ConfigurationSerializable, Translat
* @param damage durability / damage
* @deprecated see {@link #setDurability(short)}
*/
@Deprecated
public ItemStack(@NotNull final Material type, final int amount, final short damage) {
this(type, amount, damage, null);
}