mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-01 16:19:53 +01:00
add register to constructor of repair/salvage
This commit is contained in:
parent
ed8611585f
commit
4418d34930
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user