more stable connexion
Some checks failed
Linux arm64 / Build (push) Failing after 5m1s

This commit is contained in:
2025-01-26 14:54:46 +01:00
parent e51cc23459
commit 47dc35ebfa
7 changed files with 64 additions and 12 deletions

View File

@@ -45,6 +45,7 @@ public class ClientConnexion extends Connexion {
@Override
public void visitPacket(DisconnectPacket packet) {
this.client.disconnectReason = packet.getReason();
close();
}