mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-02 14:38:26 +01:00
Fix build
Signed-off-by: TheMode <themode@outlook.fr>
This commit is contained in:
parent
2c1e3e4323
commit
9353c56460
@ -286,7 +286,7 @@ public class PlayerSocketConnection extends PlayerConnection {
|
|||||||
try {
|
try {
|
||||||
if (!waitingBuffer.writeChannel(channel)) break;
|
if (!waitingBuffer.writeChannel(channel)) break;
|
||||||
iterator.remove();
|
iterator.remove();
|
||||||
POOLED_BUFFERS.add(waitingBuffer);
|
POOLED_BUFFERS.add(new SoftReference<>(waitingBuffer));
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
final String message = e.getMessage();
|
final String message = e.getMessage();
|
||||||
if (message == null ||
|
if (message == null ||
|
||||||
@ -297,7 +297,7 @@ public class PlayerSocketConnection extends PlayerConnection {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(shouldDisconnect) disconnect();
|
if (shouldDisconnect) disconnect();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user