Makes sure default config values are stored with comments on the first run
This commit is contained in:
		@@ -339,6 +339,9 @@ public class Stargate extends JavaPlugin {
 | 
			
		||||
        PluginDescriptionFile pluginDescriptionFile = this.getDescription();
 | 
			
		||||
        pluginManager = getServer().getPluginManager();
 | 
			
		||||
        FileConfiguration newConfig = this.getConfig();
 | 
			
		||||
        this.saveDefaultConfig();
 | 
			
		||||
        newConfig.options().copyDefaults(true);
 | 
			
		||||
 | 
			
		||||
        logger = Logger.getLogger("Minecraft");
 | 
			
		||||
        Server server = getServer();
 | 
			
		||||
        stargate = this;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user