China made a even bigger mistake at that time as we were at the shitty Culture Revolution which seriously damaged our economy and military strength. The bad Sino-USSR relationship (about one million USSR troops deployed at Chinese border) at that time also stopped us providing more aid for Pakistan.
Now, China is no longer that 1971 poor country. With the roads connections to Pakistan, I can honestly assure you that should there be any India-Pakistan conflict the consequence would be huge for India as you would see unlimited volume of goods/weapons/troops flow into Pakistan from those roads/railways/sea ports.
Mate, I honestly suggest you to check the history of my country, our last major military operation was against Vietnam (which I don't support) in late 1970s, we didn't have any offensive operation in the past 30 years - this is VERY rare in our 5000 years of history. At the same time, the overall strength of our economy and technology have been largely improved. Threating the only ally of us is just NOT a good approach. You should also honestly remind yourself that China is the only country which had real conflicts with both the USSR and the US during the cold war. What your troops have ever achieved other than invading Pakistan when we couldn't offer more help?
Last but not least, I suggest you to have a read of the following post, the overall economic and technology of we two countries are VERY different, you have a 30 years gap. Is it a smart thing to say "I hope India doesn't let the Pakistanis off the hook this time."? I don't think so. I don't think you will ever see this happen in your and your children's life time.
a small small Chinese city in the border region.