#Function help
1 messages · Page 1 of 1 (latest)
What do you mean it won't get created?
Start by checking the logs when (re)loading your world
alr
this is what it says
even though its in the same folder
ive even compared the code with the other 2 kits and its the same but with different coordinates for my chests
i just tried renaming the file but it still says failed to load function practicebot:kits/kit3 even though i changed the name to mykit?
this is the full error but i checked the code an it says line 41 position 31 has a 9 when in reality it has a 7
like it wasnt creating
That doesn't add any more information
look at what i sent like the pictures
i think it just isnt updating but idk why ive restarted my laptop and mc ultiple times
k
This is telling you what's wrong, you have a syntax error inside the function. The name of the function has nothing to do with it
yes but inside the code on line 41 and character 31 there is a 7 not a 9
Go to that position in the function--there is no slot called hotbar.9, the hotbar slots start at 0 and go up to 8.
Literally cannot be true
look
Otherwise you would not have the error
thats what im saying
You must be checking the wrong file, or are not loading the world with the most updated version of the data pack
I'm sorry, I'm sure that's annoying to hear, but errors don't make things up
i am because i edited the other files and it was working but for ssome reason that one js doesnt work
its alr ig
I don't know what to tell you. If you are still getting this error when you load the world, then you are mistaken about something, somewhere