mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-07-12 18:44:43 +02:00
Updates to config loading.
This commit is contained in:
@ -43,18 +43,6 @@ public class TreasuresConfig extends ConfigLoader{
|
||||
|
||||
private TreasuresConfig(mcMMO plugin) {
|
||||
super(plugin, "treasures.yml");
|
||||
config = plugin.getTreasuresConfig();
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void load() {
|
||||
if (!configFile.exists()) {
|
||||
dataFolder.mkdir();
|
||||
plugin.saveTreasuresConfig();
|
||||
}
|
||||
|
||||
addDefaults();
|
||||
loadKeys();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Reference in New Issue
Block a user