Use correct method in JavaDoc

By: md_5 <git@md-5.net>
This commit is contained in:
Bukkit/Spigot 2024-07-27 11:29:45 +10:00
parent 0611d599bd
commit 6d5823ee01

View File

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