Whenever I load up my singleplayer world in a custom modpack using NeoForge, the game just kicks me out, and it seems to think I am playing in a multiplayer server. This is the error code (more like a "connection lost" code):
Internal exception:
io.netty.handler.codec.EncoderException:
'void com.simibubi.create.content.processing.recipe ProcessingOutput.write(net.minecraft.network.RegistryFriendlyByteBuf)'