Error occurred while handling event 'ServerEvents.recipes': java.lang.ArrayIndexOutOfBoundsException: Index 0 out of bounds for length 0
event.recipes.create.deploying("kubejs:slotted_copper_disk",["kubejs:copper_disk","#c:tools/knives"]).keepHeldItem()
through experimentation, this is the offending line, specifically the .keepHeldItem()
#error on deploying recipe
40 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
is this using kjs 6.1?
KubeJS Create is an addon that will allow you to use KJS scripts with Create more easily.
post the full log instead please
i'm pretty sure i updated kjs create really recently though
oh ok
like the server.log file in logs/kubejs
Paste version of server.log from @steep hare

Paste version of server.log from @steep hare
there we go
does it stop erroring once you remove .keepHeldItem()?
it stops having that error
my code is still in poor shape generally
interestingly it does successfully make it keep the held item before stopping my code dead
@ocean wing 
it needs to be changed to event.recipes.createDeploying instead of event.recipes.create.deploying I had the same issue
ah, thanks!
Ticket re-opened!
Ticket re-opened!
hang on, i did this and it didn't fix the issue
@ocean wing issue with auto builders, keepHeldItem() and keepHeldItem(bool) seem to fit for dominance apparently??
unless we accidentally removed keepHeldItem() entirely
ah, that’s the issue
you can keepHeldItem(true)
i‘ll readd this when i have chair to sit down on again