Yamakaja / commanditems

Assign commands to items
https://www.spigotmc.org/resources/command-items.42556/
MIT License
9 stars 15 forks source link

Trouble with the using replaceitem command if a custom name tag is added #33

Open MysteryTimeTrav opened 2 years ago

MysteryTimeTrav commented 2 years ago

Hi, I'm having trouble with formatting this items actions as this doesn't seem to be valid.

MultiroleRight: item: type: FEATHER name: "&a&lMultirole RIGHT" lore: [ "&1Right click to get the bank right head" ] glow: false consumed: false cooldown: 2 actions:

This however is valid so I'm thinking it's an issue with the brackets though I cant change them because of the command format necessary to be executed

actions:
  - { action: COMMAND, by: CONSOLE, command: "minecraft:replaceitem entity @a armor.head minecraft:carved_pumpkin" }