As China boomed, it didn’t take climate change into account. Now it must.