mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2025-10-14 21:22:49 +00:00
Trim
This commit is contained in:
parent
4757c4be53
commit
d10ad138f1
14 changed files with 110 additions and 56 deletions
|
|
@ -57,11 +57,10 @@ namespace MinecraftClient.Protocol.Handlers
|
|||
if (ForgeEnabled() && forgeInfo.Version == FMLVersion.FML)
|
||||
{
|
||||
int packetID = -1;
|
||||
Queue<byte> packetData = new Queue<byte>();
|
||||
|
||||
while (fmlHandshakeState != FMLHandshakeClientState.DONE)
|
||||
{
|
||||
protocol18.ReadNextPacket(ref packetID, packetData);
|
||||
Queue<byte> packetData = protocol18.ReadNextPacket(ref packetID);
|
||||
|
||||
if (packetID == 0x40) // Disconnect
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue