add register to constructor of repair/salvage

This commit is contained in:
nossr50 2019-02-26 20:57:02 -08:00
parent ed8611585f
commit 4418d34930
2 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,7 @@ public class RepairConfig extends ConfigCollection {
public RepairConfig(String fileName, boolean merge, boolean copyDefaults) {
//super(McmmoCore.getDataFolderPath().getAbsoluteFile(), fileName, false);
super(mcMMO.p.getDataFolder().getAbsoluteFile(), fileName, merge, copyDefaults, false);
register();
}
/**

View File

@ -30,6 +30,7 @@ public class SalvageConfig extends ConfigCollection {
public SalvageConfig(String fileName, boolean merge, boolean copyDefaults) {
//super(McmmoCore.getDataFolderPath().getAbsoluteFile(), fileName, false);
super(mcMMO.p.getDataFolder().getAbsoluteFile(), fileName, merge, copyDefaults, false);
register();
}
/**