I am trying to make it so if you hold an item it autimatically updates name and lore to it with enchants and all but i cant seem to hide the flag enchants? How would i do that?
This is my code
every 1 second:
loop all players:
if loop-player is holding end portal frame:
set name of loop-player's tool to "&bZyair Portal"
set line 1 of lore of loop-player's tool to "&7Used to craft the"
set line 2 of lore of loop-player's tool to "&3Rod of Zyair&7."
enchant loop-player's tool with protection 1
hide all flags of loop-player's tool
This is my code
every 1 second:
loop all players:
if loop-player is holding end portal frame:
set name of loop-player's tool to "&bZyair Portal"
set line 1 of lore of loop-player's tool to "&7Used to craft the"
set line 2 of lore of loop-player's tool to "&3Rod of Zyair&7."
enchant loop-player's tool with protection 1
hide all flags of loop-player's tool