Merge pull request #166 from Pokechu22/fix-165

Stop attempting to read the reduced debug info value in 1.7
This commit is contained in:
ORelio 2016-06-21 10:19:18 +02:00 committed by GitHub
commit 661d4970a8

View file

@ -250,7 +250,8 @@ namespace MinecraftClient.Protocol.Handlers
readNextByte(packetData);
readNextByte(packetData);
readNextString(packetData);
readNextBool(packetData);
if (protocolversion >= MC18Version)
readNextBool(packetData); // Reduced debug info - 1.8 and above
break;
case PacketIncomingType.ChatMessage:
string message = readNextString(packetData);