How do your get generator-settings for a void world

As referenced in this spigot issue and this mojang issue, it may not actually be your fault. If you're making a plugin, an alternative may be to make a class extending ChunkGenerator and simply returning an empty ChunkData for all positions (the docs for this are good and there are many tutorials for this in general if you search chunkgenerator spigot or similar on google).