I too had this issue this evening with world generation. I tried everything I could think of to get 3.1.1 to generate grass but was unable to get any new world I generated to create grass. The workaround I managed to get working was to downgrade the server to 3.0.3 generate the world then upgrade the server to 3.1.1. I have no idea why this worked, but it did.