Hi guys! I'm making an item durability plugin. My problem is that I can't find a way to change a specific line of lore or the last line of lore. Always in the last line of the lore will be "durability" so I want to know how to delete and replace the last line of the lore or the specific line of "durability".
example: when repairing a weapon that has a durability of 100/5000 I want to change the entire lore line to 5000/5000.
I don't know if I explained it well, but I explained it the best I could
example: when repairing a weapon that has a durability of 100/5000 I want to change the entire lore line to 5000/5000.
I don't know if I explained it well, but I explained it the best I could