Describe the bug
Reconfiguring a client with Start Configuration packet breaks the mod until the game is restarted.
To Reproduce
Steps to reproduce the behavior:
Download Velocity (or any proxy that used RECONFIG packets to switch between servers) for 1.20.5.
Configure it for two backend (1.20.5 "vanilla" servers used in testing without ViaVersion or any other protocol hacks, will possibly break all 1.20.2+ with ViaVersion) servers.
Join the proxy. (connect to the first backend through Velocity)
Attempt to switch to second backend.
It kicks you. Sometimes it does, sometimes it doesn't. Sometimes it locks you from accessing the worls. Fully relogging into the proxy and then switching servers a few times (both relogging and switching) should reliably reproduce the bug.
Expected behavior
This shouldn't happen like in vanilla client.
Screenshots
Runtime info (please complete the following information):
OS: Win11
Minecraft version: 1.20.5 (Fabric)
Mod version: 0.2.0+beta.7.151 (509a2075e8f7bcdc3a03b0f1ddfe436409362fdf)
Describe the bug Reconfiguring a client with Start Configuration packet breaks the mod until the game is restarted.
To Reproduce Steps to reproduce the behavior:
Expected behavior This shouldn't happen like in vanilla client.
Screenshots
Runtime info (please complete the following information):
0.2.0+beta.7.151
(509a2075e8f7bcdc3a03b0f1ddfe436409362fdf)ver/1.20.6
(ig?...)Crash reports / logs https://paste.gg/p/VidTu/00091feda94d4637876a8084c1039bec (both deobf and obf)
Other mods First log paste has StackDeobfuscator used for meaningful logs. Second paste has only Fabric (w/o API) + VMP.
Checklist
Additional context This doesn't happen in Vanilla no matter how hard I try. Dev version wasn't tested but there are no significant changes.