From 4418d34930e375aca47bbae7be091c26069b284f Mon Sep 17 00:00:00 2001 From: nossr50 Date: Tue, 26 Feb 2019 20:57:02 -0800 Subject: [PATCH] add register to constructor of repair/salvage --- .../com/gmail/nossr50/config/collectionconfigs/RepairConfig.java | 1 + .../gmail/nossr50/config/collectionconfigs/SalvageConfig.java | 1 + 2 files changed, 2 insertions(+) diff --git a/src/main/java/com/gmail/nossr50/config/collectionconfigs/RepairConfig.java b/src/main/java/com/gmail/nossr50/config/collectionconfigs/RepairConfig.java index 2d579b083..05d19f371 100644 --- a/src/main/java/com/gmail/nossr50/config/collectionconfigs/RepairConfig.java +++ b/src/main/java/com/gmail/nossr50/config/collectionconfigs/RepairConfig.java @@ -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(); } /** diff --git a/src/main/java/com/gmail/nossr50/config/collectionconfigs/SalvageConfig.java b/src/main/java/com/gmail/nossr50/config/collectionconfigs/SalvageConfig.java index bf6f59548..9690e3a11 100644 --- a/src/main/java/com/gmail/nossr50/config/collectionconfigs/SalvageConfig.java +++ b/src/main/java/com/gmail/nossr50/config/collectionconfigs/SalvageConfig.java @@ -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(); } /**