浏览代码

Set removeOldKeys in the Config parent class

nossr50 6 年之前
父节点
当前提交
18d8b84099
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/main/java/com/gmail/nossr50/config/Config.java

+ 1 - 0
src/main/java/com/gmail/nossr50/config/Config.java

@@ -60,6 +60,7 @@ public abstract class Config implements VersionedConfig, Unload {
          */
         this.copyDefaults = copyDefaults;
         this.mergeNewKeys = mergeNewKeys; //Whether or not we add new keys when they are found
+        this.removeOldKeys = removeOldKeys;
         mkdirDefaults(); // Make our default config dir
         DIRECTORY_DATA_FOLDER = pathToParentFolder; //Data Folder for our plugin
         FILE_RELATIVE_PATH = relativePath; //Relative path to config from a parent folder