Updated Player Position packet (removed a line that would crash on older versions)

This commit is contained in:
Anon 2023-03-21 21:06:16 +01:00
parent 5d4ea515a7
commit 046cb15c75

View file

@ -957,9 +957,6 @@ namespace MinecraftClient.Protocol.Handlers
if (protocolVersion >= MC_1_17_Version && protocolVersion < MC_1_19_4_Version) if (protocolVersion >= MC_1_17_Version && protocolVersion < MC_1_19_4_Version)
dataTypes.ReadNextBool(packetData); // Dismount Vehicle - 1.17 and abo dataTypes.ReadNextBool(packetData); // Dismount Vehicle - 1.17 and abo
if(protocolVersion < MC_1_19_4_Version)
dataTypes.ReadNextVarInt(packetData);
} }
break; break;
case PacketTypesIn.ChunkData: case PacketTypesIn.ChunkData: