
Can't create new world when on Linux
DarkShadow44 opened this issue ยท 2 comments
I tried playing the modpack "TNP Limitless-5", but creating a new world fails with the message "Server sent an invalid packet".
Removing this mod removes the crash. It works on Windows though...
Emptying the "serverconfigupdater-common.toml" file also prevents the crash.
Using serverconfigupdater-2.0
Exception:
[05Jun2022 17:46:01.514] [Netty Local Client IO #0/ERROR] [net.minecraft.network.Connection/]: Received class net.minecraft.network.protocol.game.ClientboundDisconnectPacket that couldn't be processed
java.lang.ClassCastException: class net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl cannot be cast to class net.minecraft.network.protocol.game.ClientGamePacketListener (net.minecraft.client.multiplayer.ClientHandshakePacketListenerImpl and net.minecraft.network.protocol.game.ClientGamePacketListener are in module [email protected] of loader 'TRANSFORMER' @1bb172dd)
at net.minecraft.network.protocol.game.ClientboundDisconnectPacket.m_5797_(ClientboundDisconnectPacket.java:7) ~[client-1.18.2-20220404.173914-srg.jar%23530!/:?]
at net.minecraft.network.Connection.m_129517_(Connection.java:168) ~[client-1.18.2-20220404.173914-srg.jar%23530!/:?]
at net.minecraft.network.Connection.channelRead0(Connection.java:153) [client-1.18.2-20220404.173914-srg.jar%23530!/:?]
at net.minecraft.network.Connection.channelRead0(Connection.java:53) [client-1.18.2-20220404.173914-srg.jar%23530!/:?]
Also see the bug I reported for the modpack: The-Nexus-Project/Limitless-5#95
Serverconfigupdater does not have any networking code. So this error cannot come from me.
Another mod could have an issue with getting its config reset. But I don't have any way of figuring out which or why.