Browse Source

set configurate user file builder to dump block style formatting

nossr50 6 years ago
parent
commit
59f3835554
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/config/Config.java

+ 1 - 1
src/main/java/com/gmail/nossr50/config/Config.java

@@ -143,7 +143,7 @@ public abstract class Config implements VersionedConfig, Unload {
     private void initConfigLoaders()
     {
         this.defaultCopyLoader = YAMLConfigurationLoader.builder().setPath(resourceConfigCopy.toPath()).setFlowStyle(DumperOptions.FlowStyle.BLOCK).build();
-        this.userCopyLoader = YAMLConfigurationLoader.builder().setPath(resourceUserCopy.toPath()).setFlowStyle(DumperOptions.FlowStyle.FLOW).build();
+        this.userCopyLoader = YAMLConfigurationLoader.builder().setPath(resourceUserCopy.toPath()).setFlowStyle(DumperOptions.FlowStyle.BLOCK).build();
     }
 
     /**