set configurate user file builder to dump block style formatting

This commit is contained in:
nossr50 2019-03-06 14:17:30 -08:00
parent 38c11d1601
commit 59f3835554

View File

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