So i have been working on a weapon upgrading system recently but i cant find out some things here is the code:
on inventory click:
if 1st line of lore of item contains "&7: : 0/2":
set the 1st line of lore of the player's tool to "&7:: : 1/2"
For example if i have 2 diamond swords of those with that lore and click them well yeah it changes the lore but i want that it deletes the clicked item (like the item in ur cursor gets deleted) can anyone help out? Thanks!
on inventory click:
if 1st line of lore of item contains "&7: : 0/2":
set the 1st line of lore of the player's tool to "&7:: : 1/2"
For example if i have 2 diamond swords of those with that lore and click them well yeah it changes the lore but i want that it deletes the clicked item (like the item in ur cursor gets deleted) can anyone help out? Thanks!