
Datagen doesn't work with mod installed
thomasglasser opened this issue ยท 3 comments
Describe the bug
When running forge datagen, it crashes because Minecraft.getInstance()
returns null.
To Reproduce
Steps to reproduce the behavior:
- Install mod
- Run datagen
Expected behavior
The mod wouldn't run any logic during datagen
Additional context
This should be fixed by checking if it returns null during client initialization