diff --git a/src/main/java/com/gmail/nossr50/config/RepairConfig.java b/src/main/java/com/gmail/nossr50/config/RepairConfig.java new file mode 100644 index 000000000..46780173d --- /dev/null +++ b/src/main/java/com/gmail/nossr50/config/RepairConfig.java @@ -0,0 +1,33 @@ +package com.gmail.nossr50.config; + +import java.util.ArrayList; +import java.util.List; + +import com.gmail.nossr50.mcMMO; +import com.gmail.nossr50.skills.repair.Repairable; + +public class RepairConfig extends ConfigLoader { + private final String fileName; + private List repairables; + + public RepairConfig(mcMMO plugin, String fileName) { + super(plugin, fileName); + this.fileName = fileName; + } + + @Override + protected void load() { + if(plugin.isInJar(fileName)) addDefaults(); + loadKeys(); + } + + @Override + protected void loadKeys() { + // TODO Auto-generated method stub + } + + protected List getLoadedRepairables() { + if(repairables == null) return new ArrayList(); + return repairables; + } +}