Bukkit/CraftBukkit — comment on commit 427ebb09d024a05d96f4be0ce999c6dd45e69c21
File:  line 0
By Yurij:

@quickwango
This works for me

getConfig().options().copyDefaults(true);
saveConfig();