#is this supposed to be helpful?

31 messages · Page 1 of 1 (latest)

tame bobcat
frozen loomBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

robust scarab
#

It would be if you had set ids to recipes

tame bobcat
#

apparently it was caused by 3 recipes for the same thing
so why 6 errors?

slow vigil
#

you have 3 recipes for 3 things

#

so you'll encounter 2 duplicate recipes

#

also, since these are generated ids, the jsons are exactly the same

#

so this is a script error

misty nymph
#

I have the same problem. 2 recipes got kubejs IDs cause I didnt register names.

Now I have no idea which those two duplicates are xD

tame bobcat
slow vigil
#

what

misty nymph
#

not if I named them recipe1 and recipe2, or any unique ID

slow vigil
#

but you will just get duplicates if and only if two jsons hash to the same thing

#

i.e. if two jsons are the same recipe

misty nymph
#

i had two things with the ID of apotheosis:hellshelf, and just cleared on.

The other two are in that kjs format, so not sure where the problem actually is.

slow vigil
#

that's why we suggest you name your recipes :P

#

this won't cause issues btw

#

it's just a warning for script devs

#

because you're making the same recipe twice

tame bobcat
twilit mistBOT
tame bobcat
slow vigil
#

if you don't specify a recipe id (which you should)

#

we generate one for you automatically

#

based on the recipe json

#

and the ids will only be the same if the jsons are the same

#

so there is a duplicate

#

meaning there's a bug in your scripts

#

so the warning is justified :p

tame bobcat
#

I thought it meant that generated IDs didn't make the jsons different, but manually added ones would have