Crash during load with only import statement.
Amperthorpe opened this issue ยท 2 comments
Versions (Be specific, do not write "latest"):
- Caelus: 1.16.4-2.1.0.0
- Forge/Fabric: forge:1.16.4-35.1.15
Observed Behavior:
Below crash when attempting to run game. The only reference to Caelus in my code is an import statement.
This also happened with a fresh Forge example mod project.
Expected Behavior:
The API not crashing.
Steps to Reproduce:
- Download and set up Forge MDK example mod.
- Add Caelus and Maven to build.gradle following the instructions.
- Add line "import top.theillusivec4.caelus.api.CaelusApi;" to ExampleMod.java
- Build and launch game
- Crash as below.
Crash Log:
https://gist.github.com/Alleluid/32d3d8edce85485e487169d7669ec1c1
Because Caelus uses mixins, you need to set the mixin.env.disableRefMap
JVM argument to true when working in a development environment. My apologies that this isn't reflected in documentation anywhere, I'll update the README to reflect this.