Add 1.20.70 & 1.20.60 support + Fix crafting issue (#9)

This commit is contained in:
C. Pham
2025-04-05 04:43:37 -04:00
committed by GitHub
parent 6f8d6e922d
commit bcb3e990d3
24 changed files with 12442 additions and 127 deletions

View File

@@ -103,7 +103,9 @@ func (pk *PlayerAuthInput) Marshal(io protocol.IO) {
}
if pk.InputData.Load(packet.InputFlagClientPredictedVehicle) {
io.Vec2(&pk.VehicleRotation)
if proto.IsProtoGTE(io, proto.ID662) {
io.Vec2(&pk.VehicleRotation)
}
io.Varint64(&pk.ClientPredictedVehicle)
}