FoundationGames / Automobility

A Minecraft mod on the Fabric modloader which aims to add some useful vehicles.
MIT License
56 stars 37 forks source link

Warning when run with lithium on the server #6

Open Justsnoopy30 opened 2 years ago

Justsnoopy30 commented 2 years ago

Saw this in the logs, dunno if you're aware of it:

[17:43:12] [Server thread/WARN]: Lithium Class Analysis Error: Class io.github.foundationgames.automobility.entity.AutomobileEntity cannot be analysed, because getting declared methods crashes with NoClassDefFoundError: net/minecraft/class_5617$class_5618. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @Environment(value=EnvType.CLIENT). Loading the type is not possible, because it only exists in the CLIENT environment. The recommended fix is to annotate the method with this argument or return type with the same annotation. Lithium handles this error by assuming the class cannot be included in some optimizations.
mrcisdaduntman commented 2 years ago

well if the server can still run then it might work