MaxNeedsSnacks / roadrunner

A general-purpose performance mod and fork of the popular "Lithium" mod made for the Forge mod loader.
GNU Lesser General Public License v3.0
24 stars 5 forks source link

Server spam [RoadRunner Class Analysis/]: RoadRunner Class Analysis Error #86

Open Enterprise12nx01 opened 1 month ago

Enterprise12nx01 commented 1 month ago

Expected Behavior

No console spam

Actual Behavior

[RoadRunner Class Analysis/]: RoadRunner Class Analysis Error: Class com.ferreusveritas.dynamictrees.block.rooty.RootyBlock cannot be analysed, because getting declared methods crashes with RuntimeException: Attempted to load class net/minecraft/client/color/block/BlockColors for invalid dist DEDICATED_SERVER. This is usually caused by modded entities declaring methods that have a return type or parameter type that is annotated with @OnlyIn(Dist.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.

Reproduction Steps

add to 1.19.2 modded server

Attachments

Add any relevant screenshots or videos to this issue as you feel necessary to explain the issue.