Mod not working on server
CozyBearz opened this issue ยท 2 comments
Hello, I wanted to know if this mod is compatible with any other mods or with servers. I tried running my custom modpack on my server but it kept restarting for some reasons, I tried removing some mods and I finally found that it was this mod. Without the mod, the server started up fine. Is the problem on my end? I linked a copy of my logs straight from the console below:
I believe the issue is here but I'm not sure:
[12.05 15:44:21] [Server] java.util.concurrent.ExecutionExceptionjava.lang.RuntimeException: Attempted to load class net/minecraft/client/entity/player/ClientPlayerEntity for invalid dist DEDICATED_SERVER
via:
me.desht.pneumaticcraft.common.recipes.PneumaticCraftRecipeType.getRecipes(PneumaticCraftRecipeType.java:119)
First off, please don't delete the issue template. It's there for a reason, so I know what version of the mod etc. you're running.
Yes, PNC:R works fine on servers. I'm running it on a server right now. Looking at your log file more carefully, it's clear this crash is not related to PNC at all:
[12.05 15:44:20] [Server] [Worker-Main-12/INFO] [dpanvil/]: Loaded 1 DataPack Anvil TagCollection
[12.05 15:44:20] [Server] [Worker-Main-12/ERROR] [dpanvil/]: Exception while loading data for manager dpanvil:tags:
[12.05 15:44:21] [Server] [Worker-Main-12/FATAL] [ne.mi.fm.lo.RuntimeDistCleaner/DISTXFORM]: Attempted to load class net/minecraft/client/entity/player/ClientPlayerEntity for invalid dist DEDICATED_SERVER
Talk to the author of dpanvil, whoever that may be.
Update: not dpanvil. It's something to do with Simple Generators, apparently trying to do some registration much too early (i.e. before there's a valid server object). But Simple Generators is a closed source mod with a broken github link and comments disabled on Curseforge, so good luck getting help with that. Personally, I'd just kick that mod out of your pack.
Still not a problem with PNC:R.