raknetify
raknetify copied to clipboard
Sometimes the reason for the client disconnection is not displayed
Describe the bug
Sometimes when trying to connect to a server using raknet;, the reason for disconnection is not displayed. Just "Disconnected", nothing more.
To Reproduce Steps to reproduce the behavior:
- Try to ban yourself using any punishment mod, or create a mod, which injects into Minecraft's
checkCanJoin()method. - Try to connect to the server, untill you will be shown "Disconnected".
Expected behavior Disconnection reason will be displayed correctly.
Screenshots https://i.imgur.com/FWgtrFt.png
Runtime info (please complete the following information):
- OS: Ubuntu 22.04.1 LTS
- Minecraft version: 1.19.3
- Mod version: 0.1.0+alpha.5.49
- Mod branch: master
Crash reports / logs On both the client and server sides, there are no errors or warnings in the logs. In the server logs, the client is disconnected with the specified reason.
Checklist
- [x] I am using the official version of the mod.
- [x] I tried the latest development version but the issue persists.
- [x] I searched for similar open issues and could not find an existing bug report on this.