diff --git a/src/main/java/com/gmail/nossr50/config/ConfigLoader.java b/src/main/java/com/gmail/nossr50/config/ConfigLoader.java index 6d1620e63..f5d18a530 100644 --- a/src/main/java/com/gmail/nossr50/config/ConfigLoader.java +++ b/src/main/java/com/gmail/nossr50/config/ConfigLoader.java @@ -46,13 +46,7 @@ public abstract class ConfigLoader { } config = YamlConfiguration.loadConfiguration(configFile); - InputStream resource = plugin.getResource(fileName); - - if (resource == null) { - return; - } - - FileConfiguration internalConfig = YamlConfiguration.loadConfiguration(resource); + FileConfiguration internalConfig = YamlConfiguration.loadConfiguration(plugin.getResource(fileName)); Set configKeys = config.getKeys(true); Set internalConfigKeys = internalConfig.getKeys(true);