[Bug]: Mod that depends on JEI hangs during datagen
noeppi-noeppi opened this issue ยท 2 comments
Steps to Reproduce the Bug
- Create a forge mod that depends on JEI and loads it in a development environemnt.
- Run datagen:
./gradlew runData
Expected Behavior
After all data providers are complete, the game should stop.
Actual Behavior
After all data providers are complete, the game hangs forever.
Mod Pack URL (Optional)
No response
Mod Pack Version (Optional)
No response
Extra Notes (Optional)
This is due to the Timer
thread in ConfigSchema.java not running as a daemon. This means, the game won't stop when all other threads are done.
When running the game regularly, this is no problem as System.exit
is invoked when the main thread is about to die. When datagen is running, however this is not the case, so the JEI Timer
thread makes the game hang indefinitely.
latest.log
No response
Thanks for the report!
I have pushed a fix for this thread, please let me know if you into any more issues.