get/set for loadComments config setting

This commit is contained in:
jascotty2 2019-10-11 16:19:37 -05:00
parent c27fc04c5b
commit ab51c9a29d

View File

@ -176,6 +176,19 @@ public class Config extends ConfigSection {
return this;
}
public boolean getLoadComments() {
return loadComments;
}
/**
* Should comments from the config file be loaded when loading?
*
* @param loadComments set to false if you do not want to preserve node comments
*/
public void setLoadComments(boolean loadComments) {
this.loadComments = loadComments;
}
public boolean getAutosave() {
return autosave;
}