AlexModGuy / Rats

The Rats Mod for Minecraft
https://minecraft.curseforge.com/projects/rats
GNU Lesser General Public License v3.0
66 stars 49 forks source link

Server Crash: Client-side class loaded on dedicated server #889

Open Decryptu opened 1 month ago

Decryptu commented 1 month ago

Description

The server crashed due to an attempt to load a client-side class on a dedicated server. This occurred while processing a TamedRat entity from the Rats mod.

Steps to Reproduce

  1. Have a tamed rat in the game.
  2. Apply the golem mount upgrade to the rat in a small place.
  3. Exit the menu after applying the upgrade.
  4. The server crashes instantly.

Environment

Error Message

java.lang.RuntimeException: Attempted to load class com/github/alexthe666/citadel/client/model/AdvancedModelBox for invalid dist DEDICATED_SERVER

Crash report:

crash-2024-08-08_14.19.45-server.txt