mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-25 18:24:43 +02:00
Revert "Fixing an IllegalArgumentException related to custom repair configs."
This reverts commit 3036d4fa90
.
This commit is contained in:
@ -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<String> configKeys = config.getKeys(true);
|
||||
Set<String> internalConfigKeys = internalConfig.getKeys(true);
|
||||
|
Reference in New Issue
Block a user