Save mod config files to "mods" rather than "ModConfigs", mirror directory structure inside the jar file.

This commit is contained in:
GJ
2013-10-07 10:32:40 -04:00
parent 3927427b5b
commit 5131e74349
9 changed files with 5 additions and 5 deletions

View File

@ -26,7 +26,7 @@ public class CustomArmorConfig extends ConfigLoader {
private List<Material> customLeggings = new ArrayList<Material>();
public CustomArmorConfig() {
super("ModConfigs", "armor.yml");
super("mods", "armor.yml");
loadKeys();
}

View File

@ -28,7 +28,7 @@ public class CustomBlockConfig extends ConfigLoader {
private HashMap<MaterialData, CustomBlock> customBlockMap = new HashMap<MaterialData, CustomBlock>();
public CustomBlockConfig() {
super("ModConfigs", "blocks.yml");
super("mods", "blocks.yml");
loadKeys();
}

View File

@ -18,7 +18,7 @@ public class CustomEntityConfig extends ConfigLoader {
private HashMap<String, CustomEntity> customEntityTypeMap = new HashMap<String, CustomEntity>();
public CustomEntityConfig() {
super("ModConfigs", "entities.yml");
super("mods", "entities.yml");
loadKeys();
}

View File

@ -31,7 +31,7 @@ public class CustomToolConfig extends ConfigLoader {
private HashMap<Material, CustomTool> customToolMap = new HashMap<Material, CustomTool>();
private CustomToolConfig() {
super("ModConfigs", "tools.yml");
super("mods", "tools.yml");
loadKeys();
}