AssertionError upon joining world due to assert currentConfigurationAddon != null #3330
Labels
bug
Something isn't working
priority:high
High priority PRs that need review and work now. Review these first.
Current Behavior
Running the game with
-enableassertions
crashes upon joining worldAnalysis (mojmap)
ClientNetworkingImpl#setClientPlayAddon has an assertion that checks if
currentConfigurationAddon
is nullClientNetworkingImpl#setClientPlayAddon is called when a ClientPacketListener is initialized
currentConfigurationAddon
is set to null whenConnection#setListener
is calledClientConfigurationPacketListenerImpl contains this code:
this.connection.setListener(new ClientPacketListener(...))
The ctor is invoked before setListener, causing the assertion to fail.
Steps to reproduce
-enableassertions
JVM flagEnvironment
Minecraft 1.20.2
Fabric Loader 0.14.22
Fabric API 0.89.1
The text was updated successfully, but these errors were encountered: