change this line: `"environment": "*"` to `"environment": "client"` in` fabric.mod.json` since the mod is intended to be used on the client and not on a server (server crashes)