mirror of
https://github.com/songoda/SongodaCore.git
synced 2024-11-23 18:45:34 +01:00
get/set for loadComments config setting
This commit is contained in:
parent
c27fc04c5b
commit
ab51c9a29d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user