GG123Boi Posted October 15, 2021 Share Posted October 15, 2021 Hello there, I'm having some troubles with the NBT data not working properly... Here's my code if you need it: command /items: trigger: open virtual chest inventory with size 3 named "Items" to player format gui slot 4 of player with player skull with nbt "{display:{Name:"{\"text\":\"Diamond\"}"},SkullOwner:{Id:[I;1779249861,-1945615709,-1110092384,68104524],Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvOTY0ZjI1Y2ZmZjc1NGYyODdhOTgzOGQ4ZWZlMDM5OTgwNzNjMjJkZjdhOWQzMDI1YzQyNWUzZWQ3ZmY1MmMyMCJ9fX0="}]}}}" named "&r&l&bDiamond" Also, if you need them, the errors: I have no idea what the problem is so I need some help with this... Thanks in advance! Link to comment Share on other sites More sharing options...
NotKaizo Posted October 16, 2021 Share Posted October 16, 2021 So basically, in Skript, you can't use single quotes in string. So you have to double all the quotes in your nbt for it it work. Owner of play.hiveminez.net ⊱------------------------------⊰ Joined Minehut on 1/28/2021 (Same day I got Minecraft) [VIP] - 3/14/2021 [LEGEND] - 5/27/2021 ⊱------------------------------⊰ Discord - NotKaizo#0001 In-game name - iKaizo_ If you need any help, feel free to contact me. Link to comment Share on other sites More sharing options...
GG123Boi Posted October 16, 2021 Author Share Posted October 16, 2021 1 hour ago, NotKaizo said: So basically, in Skript, you can't use single quotes in string. So you have to double all the quotes in your nbt for it it work. Thanks for your help! I'll try this later to see if this works. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now