Allows any file configuration to be saved through StargateYamlConfiguration
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				KnarCraft/KnarLib/pipeline/head This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	KnarCraft/KnarLib/pipeline/head This commit looks good
				
			This commit is contained in:
		@@ -89,7 +89,7 @@ public class StargateYamlConfiguration extends YamlConfiguration {
 | 
			
		||||
     * @return <p>True if the configuration was successfully saved</p>
 | 
			
		||||
     */
 | 
			
		||||
    @SuppressWarnings("unused")
 | 
			
		||||
    public static boolean saveConfiguration(@NotNull Plugin plugin, @NotNull StargateYamlConfiguration configuration) {
 | 
			
		||||
    public static boolean saveConfiguration(@NotNull Plugin plugin, @NotNull FileConfiguration configuration) {
 | 
			
		||||
        try {
 | 
			
		||||
            configuration.save(new File(plugin.getDataFolder(), ConfigHelper.getConfigFile()));
 | 
			
		||||
            return true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user