mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-03 18:43:43 +01:00 
			
		
		
		
	Revert "Add an error message when the config.yml is outdated."
This reverts commit 3cff8aba16.
Closes #639
Signed-off-by: NuclearW <incongruency@gmail.com>
			
			
This commit is contained in:
		@@ -4,8 +4,6 @@ import java.util.Set;
 | 
			
		||||
 | 
			
		||||
import org.bukkit.configuration.ConfigurationSection;
 | 
			
		||||
 | 
			
		||||
import com.gmail.nossr50.mcMMO;
 | 
			
		||||
 | 
			
		||||
public class Config extends ConfigLoader {
 | 
			
		||||
    private static Config instance;
 | 
			
		||||
 | 
			
		||||
@@ -412,12 +410,6 @@ public class Config extends ConfigLoader {
 | 
			
		||||
 | 
			
		||||
    private boolean doubleDropsDisabled(String skillName) {
 | 
			
		||||
        ConfigurationSection section = config.getConfigurationSection("Double_Drops." + skillName);
 | 
			
		||||
 | 
			
		||||
        if (section == null) {
 | 
			
		||||
            mcMMO.p.getLogger().warning("The configuration files are outdated!"); //TODO Locale and more descriptive message!
 | 
			
		||||
            return false;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
        Set<String> keys = section.getKeys(false);
 | 
			
		||||
 | 
			
		||||
        boolean disabled = true;
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user