mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
Revert "Fixing an IllegalArgumentException related to custom repair configs."
This reverts commit 3036d4fa90
.
This commit is contained in:
parent
9759224690
commit
54ca6e78f5
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user