Automobility icon indicating copy to clipboard operation
Automobility copied to clipboard

Warning when run with lithium on the server

Open Justsnoopy30 opened this issue 2 years ago • 1 comments

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.

Justsnoopy30 avatar May 22 '22 22:05 Justsnoopy30

well if the server can still run then it might work

mrcisdaduntman avatar Aug 14 '22 02:08 mrcisdaduntman