Crash on startup when modifying staff recipes with kubeJS
Wyrmlet opened this issue ยท 3 comments
Modloader
Forge
Minecraft version
1.20.1
Hex Casting version
0.11.2
Modloader version
Forge 47.4.0
Modpack info
https://www.curseforge.com/minecraft/modpacks/neogreg
The latest.log file
Issue description
With this specific setup, it seems like modifying staff recipes with kubeJS causes the game to crash on startup... But only sometimes. Some kind of race condition, maybe?
Steps to reproduce
- Install linked modpack
- Launch game
- Game crashes occasionally, but might launch just fine on an another try
Other information
The mclogs link goes straight to the exception text. This does not happen in a setup that has all these mods but with no script for kubeJS modifying the staves.
The kubeJS script that seems to be causing the issue is here. In the modpack it's located at .../minecraft/kubejs/server_scripts/hexcasting.js, if anyone is willing to experiment with it.
I am unsure where to even go with this error honestly, it might be a different mod's issue, or something hyper-specific to this particular set of mods. I guess asking about this here is a good start, it's been bothering me for ages at this point.
hmm, I was going to suggest reducing the modlist with https://github.com/object-Object/modlist-bisector, but that doesn't have a companion mod for Forge yet.
could you also open an issue on KubeJS and link to this one in it? they might have seen something like this before.
I'm no expert with Forge, but this response might be of interest to the developers here.