Closed IMB11 closed 1 month ago
Workaround, downgrade to 0.95.1+1.20.4
and force users to use that version (annoyingly)
Actually, it seems like this issue was introduced in 0.97, all 0.96 versions do not have this bug.
This was fixed as part of: https://github.com/FabricMC/fabric/pull/3832/files It likely need backporting to 1.20.4.
Disabling assertions is a workaround, this will only affect development environments.
My mod (https://github.com/IMB11/SkinShuffle) registers optional server networking events and client networkng events, but this shouldnt do anything - this has only started occuring when updating Fabric API from
0.95.1+1.20.4
to0.97.1+1.20.4
.When joining a vanilla server, a modded server or singleplayer, an assertion error occurs.
According to IDEA, the assertion occurs here, makes no sense though...
My networking classes: https://github.com/IMB11/SkinShuffle/tree/main/src/main/java/com/mineblock11/skinshuffle/networking
None of the networking events are called, this assertion error happens before that.
No data is sent from client -> server before the client joins the world either.