Hex Casting

Hex Casting

7M Downloads

Crash on startup when modifying staff recipes with kubeJS

Wyrmlet opened this issue ยท 3 comments

commented

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

https://mclo.gs/5FzFBwG#L1429

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

  1. Install linked modpack
  2. Launch game
  3. 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.

commented

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.

commented

could you also open an issue on KubeJS and link to this one in it? they might have seen something like this before.

commented

I'm no expert with Forge, but this response might be of interest to the developers here.

KubeJS-Mods/KubeJS#997 (comment)