
[Bug]: Can't create new world when using ServerConfigUpdater on Linux
DarkShadow44 opened this issue ยท 3 comments
What happened?
I tried to create a new world, and after the spawn area was prepared, I get the message "Server sent an invalid packet" and I get thrown back into the main menu.
I know the backtrace isn't from this mod, but it goes away if this mod is not sent a config update from ServerConfigUpdater, I hope you can help me with that.
How do you trigger this bug?
- Be on Linux - doesn't seem to happen on Windows for some reason
- Use this mod and the ServerConfigUpdater mod
- Configure ServerConfigUpdater to update Diet mod (see below)
- Create new world
Forge Version
Forge 40.1.25
Mod Version
Diet Forge 1.18.2 - 1.3.1.0
Other Relevant Mod Versions
ServerConfigUpdater 2.0
serverconfigupdater-common.toml contents:
["Version Configuration"]
versions = ["1=diet"]
Relevant Log Outputs
Exception that gets thrown:
[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!/:?]