The PRC has a strict policy of non-interference, informed by china's long history of live and let live with its neighbors, their own historical experiences and foreign-policy miss-steps, as well as in-depth study of the factors that lead to the downfall of the USSR, of which the arms race sucking tons of labor and vital resources away from other important economic sectors was a main reason.
They rightly view military involvement and weaponry as extremely dangerous traps, that can spiral out of control quickly. And unless you're using your own troops like Cuba did in Angola, you're going to lose control of that weaponry.
Africa has seen so much unecessary bloodshed because the west and Israel armed the Apartheid powers, and various other reactionary parties in the 70s-80s, most of those weapons being used to kill innocent people.
The west wants to keep Africa unstable, ruled by petty warlords and tearing itself apart. The CPC desires a stable Africa focused on economic development and construction.
It's not a strict dogmatism to never get involved ever, but a waryness informed by history.