mirror of
https://github.com/sirjonasxx/G-Earth.git
synced 2024-11-23 00:40:51 +01:00
Removed redundant availability check for incoming extension connection
This commit is contained in:
parent
35748038a9
commit
0547d84d81
@ -100,9 +100,6 @@ public final class NetworkExtensionsProducer implements ExtensionProducer {
|
||||
// listen to incoming data from client
|
||||
while (!extensionSocket.isClosed()) {
|
||||
|
||||
if (dIn.available() < PACKET_HEADER_SIZE)
|
||||
continue;
|
||||
|
||||
final int bodyLength = dIn.readInt() - Short.BYTES;
|
||||
final short headerId = dIn.readShort();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user