RelativityMC / raknetify

A Fabric mod / Velocity plugin / BungeeCord plugin that uses RakNet to improve multiplayer experience significantly under unreliable and rate-limited connections.
MIT License
148 stars 2 forks source link

Sometimes the reason for the client disconnection is not displayed #24

Open nikijaz opened 1 year ago

nikijaz commented 1 year ago

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:

  1. Try to ban yourself using any punishment mod, or create a mod, which injects into Minecraft's checkCanJoin() method.
  2. 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):

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