Added new FileConfigurationOptions.copyHeader, defaulting to true. Copies the header from default config, if there is one.
This commit is contained in:
@@ -32,6 +32,12 @@ public class YamlConfigurationOptions extends FileConfigurationOptions {
|
||||
super.header(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public YamlConfigurationOptions copyHeader(boolean value) {
|
||||
super.copyHeader(value);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets how much spaces should be used to indent each line.
|
||||
|
||||
Reference in New Issue
Block a user