Update config style

This commit is contained in:
Len 2022-10-03 19:29:25 +02:00
parent 7af91c1c94
commit 7fcfb2321f
2 changed files with 2 additions and 2 deletions

View File

@ -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()) {

View File

@ -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()) {