Set removeOldKeys in the Config parent class

This commit is contained in:
nossr50 2019-02-21 16:47:22 -08:00
parent e6aee141fb
commit 18d8b84099

View File

@ -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