mirror of
https://github.com/Minestom/Minestom.git
synced 2024-06-24 13:34:53 +02:00
Remove faulty fast exit
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
4b5ec566bd
commit
380f5a5a67
|
@ -263,7 +263,6 @@ public class PlayerSocketConnection extends PlayerConnection {
|
|||
@Override
|
||||
public void flush() {
|
||||
boolean shouldDisconnect = false;
|
||||
if (!channel.isOpen()) return;
|
||||
synchronized (bufferLock) {
|
||||
final BinaryBuffer localBuffer = tickBuffer.getPlain();
|
||||
if (localBuffer.readableBytes() == 0 && waitingBuffers.isEmpty()) return;
|
||||
|
|
Loading…
Reference in New Issue
Block a user