Hello,
I come back to MC and i have problem with this:
I mean i have okey this, but, i right click to npc, and its work, but item its not show
But show this error:
Thank you for help, and have a nice day =)
I come back to MC and i have problem with this:
code_language.skript:
on npc right click:
if citizen is 1:
open "CHEST" with 3 rows named "&8Kovář" to player
wait a tick
set slot 2 of player's current inventory to a unbreakable diamond_hoe with custom nbt "{HideFlags: 4}" named "&atest" with lore "asdasdasd"
I mean i have okey this, but, i right click to npc, and its work, but item its not show
But show this error:
code_language.skript:
[16:57:46 ERROR]: a slot can't be set to 'a unbreakable diamond_hoe:2 with custom nbt "{HideFlags: 4}" named "&atest" with lore "asdasdasd"' because the latter is neither an item type nor an item stack (kovar.sk, line 5: set slot 2 of player's current inventory to a unbreakable diamond_hoe:2 with custom nbt "{HideFlags: 4}" named "&atest" with lore "asdasdasd"')
Thank you for help, and have a nice day =)