mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 07:06:45 +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);
|
config = YamlConfiguration.loadConfiguration(configFile);
|
||||||
InputStream resource = plugin.getResource(fileName);
|
FileConfiguration internalConfig = YamlConfiguration.loadConfiguration(plugin.getResource(fileName));
|
||||||
|
|
||||||
if (resource == null) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
FileConfiguration internalConfig = YamlConfiguration.loadConfiguration(resource);
|
|
||||||
|
|
||||||
Set<String> configKeys = config.getKeys(true);
|
Set<String> configKeys = config.getKeys(true);
|
||||||
Set<String> internalConfigKeys = internalConfig.getKeys(true);
|
Set<String> internalConfigKeys = internalConfig.getKeys(true);
|
||||||
|
Loading…
Reference in New Issue
Block a user