Croptopia

Croptopia

30M Downloads

[1.19.2] Startup crash with Kotlin for forge - org.jetbrains.annotations

Peca21 opened this issue ยท 8 comments

commented

Make sure you are not opening a duplicate.

Platform.

Forge

Minecraft version.

1.19.2

Croptopia version.

2.2.0

What happened?

Game crashed on startup

Relevant logs

https://paste.ee/p/mMjgl

Additional information

Looks like a compatibility problem between Kotlin for forge and croptopia

commented

@ExcessiveAmountsOfZombies Why do you bundle Jetbrains annotations? Does the mod crash if you don't? I'm trying to decide if I should even have them bundled in Kotlin for Forge

commented

i'm not sure why I bundle the annotations, I think I couldn't figure out how to get them present only for compiling and not put them into the jar now that it's causing a crash though I might see again how I can avoid bundling them

commented

It looks like you shade your root project which has the annotations?

commented

ok 2.2.1 won't include the jetbrains annotations, instead of using api, it's now compileOnlyApi

commented

is there gonna be a build for 1.19.2 FORGE? all i see is 1.19.3

commented

ok tomorrow it is then. thank you for everything

commented

tomorrow i'll upload one

commented

2.2.1 for 1.19.2 is being uploaded