so basically I have this script where if a player breaks a hay bale they get a hay bale named "Generator" but the player also gets a hay bale with the name "Hay Bale" how can I stop this from happening
[doublepost=1605309581,1605308414][/doublepost]Solved it on discord
Code:
on mine:
cancel event
set event-block to air
give event-block to player
on break of hay block:
remove hay block named "Hay Bale" from player's inventory
give player 1 hay block named "&7Generator"
remove 1 from {gens::%player's uuid%}
send "&6&lWheat Generator &ahas been broken"