mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-11-07 17:36:07 +00:00
Removed a check before reading data from server
- Fix hanging issue with very long strings (eg. heavy server icon in json response)
This commit is contained in:
parent
c826dd3b79
commit
19c3fb9485
1 changed files with 0 additions and 1 deletions
|
|
@ -333,7 +333,6 @@ namespace MinecraftClient
|
|||
private void setEncryptedClient(Crypto.AesStream n) { s = n; encrypted = true; }
|
||||
private void Receive(byte[] buffer, int start, int offset, SocketFlags f)
|
||||
{
|
||||
while (c.Client.Available < start + offset) { }
|
||||
if (encrypted)
|
||||
{
|
||||
s.Read(buffer, start, offset);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue