Fix JavaDoc error

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot
2024-07-27 10:08:56 +10:00
parent 2c04f1b473
commit d716606f61

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);