That statement is false
Before the ming Dynasty took control over the country, China was very reluctant in developing a relationship with foreign nations. They fear that foreign nations would made efforts to take over China.
The Ming Dynasty chose a different approach. They believe developing good foreign relations is good for China's economy. Which is why they start to invite foreign investors to put their capital injection to China.