So I have been trying to write a Bukkit plugin for a friend of mine, and for some reason the config generation is not working. The code in question is below, and I will be h
You need to flush or close the stream when you're done. Both are very important before exiting. Close will automatically call flush().