fix ts because @ethaniccc is noob
This commit is contained in:
@@ -50,10 +50,6 @@ func (pk *CorrectPlayerMovePrediction) Marshal(io protocol.IO) {
|
|||||||
protocol.OptionalFunc(io, &pk.VehicleAngularVelocity, io.Float32)
|
protocol.OptionalFunc(io, &pk.VehicleAngularVelocity, io.Float32)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if proto.IsProtoGTE(io, proto.ID827) {
|
|
||||||
io.Vec2(&pk.Rotation)
|
|
||||||
protocol.OptionalFunc(io, &pk.VehicleAngularVelocity, io.Float32)
|
|
||||||
}
|
|
||||||
io.Bool(&pk.OnGround)
|
io.Bool(&pk.OnGround)
|
||||||
io.Varuint64(&pk.Tick)
|
io.Varuint64(&pk.Tick)
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user