shedaniel / RoughlyEnoughItems

Clean and Configurable. Your recipe viewer mod for 1.13+.
Other
316 stars 59 forks source link

Crashes in gametest environment on fabric #1630

Open KP2048 opened 2 months ago

KP2048 commented 2 months ago

What happened?

When REI is installed via Gradle in a fabric gametest environment, REI tries to access the client side Minecraft class from the server side, and crashes. This is in 1.20.5 under architectury.

What mod loaders are you seeing the problem on?

Fabric

What do you think this bug is of?

Relevant log output

The error log isn't really that useful because of your overuse of reflection, but using the debugger I was able to glean this from it: `Cannot load class net.minecraft.client.Minecraft in environment type SERVER`

Anything else?

No response

By submitting this issue, I have included the necessary logs by pasting the contents into the correct location or attaching the file as an upload.

By submitting this issue, I have confirmed my REI and REI's dependencies are up to date.