mirror of
https://github.com/Minestom/Minestom.git
synced 2024-12-30 13:08:19 +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 {
|
||||
if (!waitingBuffer.writeChannel(channel)) break;
|
||||
iterator.remove();
|
||||
POOLED_BUFFERS.add(waitingBuffer);
|
||||
POOLED_BUFFERS.add(new SoftReference<>(waitingBuffer));
|
||||
} catch (IOException e) {
|
||||
final String message = e.getMessage();
|
||||
if (message == null ||
|
||||
@ -297,7 +297,7 @@ public class PlayerSocketConnection extends PlayerConnection {
|
||||
}
|
||||
}
|
||||
}
|
||||
if(shouldDisconnect) disconnect();
|
||||
if (shouldDisconnect) disconnect();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user