Im trying to give an item to a player with custom nbt. When i try it out it doesnt work. What can i do?
Code:
command /withdraw <integer>:
trigger:
if player's max health is less than arg 1:
message "&eYeterli &ckalbin &eyok."
else:
give player arg-1 of firework star with custom nbt tag "{CustomModelData:1}"
remove arg-1 from player's max health