Fix JavaDoc error

This commit is contained in:
md_5 2024-07-27 10:08:56 +10:00
parent b3c2b83d43
commit d5d0cefc2e
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -23,7 +23,7 @@ public interface AnvilInventory extends Inventory {
* Get the item cost (in amount) to complete the current repair. * Get the item cost (in amount) to complete the current repair.
* *
* @return the amount * @return the amount
* @deprecated use {@link AnvilView#getRepairItemCost()}. * @deprecated use {@link AnvilView#getRepairCost()}.
*/ */
@Deprecated(forRemoval = true, since = "1.21") @Deprecated(forRemoval = true, since = "1.21")
int getRepairCostAmount(); int getRepairCostAmount();
@ -32,7 +32,7 @@ public interface AnvilInventory extends Inventory {
* Set the item cost (in amount) to complete the current repair. * Set the item cost (in amount) to complete the current repair.
* *
* @param amount the amount * @param amount the amount
* @deprecated use {@link AnvilView#setRepairItemCost(int)}. * @deprecated use {@link AnvilView#setRepairCost(int)}.
*/ */
@Deprecated(forRemoval = true, since = "1.21") @Deprecated(forRemoval = true, since = "1.21")
void setRepairCostAmount(int amount); void setRepairCostAmount(int amount);