9
0
mirror of https://github.com/Xiao-MoMi/Custom-Fishing.git synced 2025-12-30 04:19:30 +00:00

durability changes

This commit is contained in:
XiaoMoMi
2023-10-18 16:42:44 +08:00
parent c59a324f44
commit c0c8ea5c61
8 changed files with 59 additions and 21 deletions

View File

@@ -186,7 +186,7 @@ public interface ItemManager {
* @param amount The amount by which to decrease the durability.
* @param updateLore Whether to update the lore of the ItemStack.
*/
void decreaseDurability(ItemStack itemStack, int amount, boolean updateLore);
void decreaseDurability(Player player, ItemStack itemStack, int amount, boolean updateLore);
/**
* Increases the durability of an ItemStack by a specified amount and optionally updates its lore.