[BUG] Limbo leave causes client exception
Describe the bug Limbo, when it has to send several players simultaneously to the same server, kicks out some clients (not all players are kicked out) due to a packet compression error.
To Reproduce Steps to reproduce the behavior:
- Trying to simultaneously connect several players connected to a limbo in a specific server.
Screenshots https://i.imgur.com/VJC0Fw4.png https://i.imgur.com/4JHG9FT.png
Server Info (please complete the following information):
- [e.g. LimboAPI 1.0.6-SNAPSHOT, downloaded from https://github.com/Elytrium/LimboAPI/releases/download/1.0.6/limboapi-plugin-1.0.6-jdk17.jar]
also tried with latest dev build, complete class is here https://github.com/sasi2006166/Fallback-Server/blob/velocity/src/main/java/me/candiesjar/fallbackserver/handler/FallbackLimboHandler.java
@frafol Try on the latest release (1.0.8)
The problem is not solved, same error by upgrading LimboAPI to version 1.0.8 (the new packets saving option is enabled).
https://i.imgur.com/4JHG9FT.png
I would like to point out that I have this problem when I try to send players to limbo, not at join but at a specific time.
@frafol do you use LimboPlayer#disconnect method to disconnect the player from Limbo and send to another server?
Yes, that's my class, i use all limboplayers methods.