Update config style
This commit is contained in:
parent
7af91c1c94
commit
7fcfb2321f
|
|
@ -41,7 +41,7 @@ public final class PrefixConfig {
|
|||
CONFIG_FILE = new File(Config.CONFIGPATH, "prefix.yml");
|
||||
configLoader = YamlConfigurationLoader.builder()
|
||||
.file(CONFIG_FILE)
|
||||
.nodeStyle(NodeStyle.FLOW)
|
||||
.nodeStyle(NodeStyle.BLOCK)
|
||||
.build();
|
||||
if (!CONFIG_FILE.getParentFile().exists()) {
|
||||
if(!CONFIG_FILE.getParentFile().mkdirs()) {
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ public final class RegexConfig {
|
|||
CONFIG_FILE = new File(Config.CONFIGPATH, "filters.yml");
|
||||
configLoader = YamlConfigurationLoader.builder()
|
||||
.file(CONFIG_FILE)
|
||||
.nodeStyle(NodeStyle.FLOW)
|
||||
.nodeStyle(NodeStyle.BLOCK)
|
||||
.build();
|
||||
|
||||
if (!CONFIG_FILE.getParentFile().exists()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user