diff --git a/pom.xml b/pom.xml
index e146a04..dd3b5d8 100644
--- a/pom.xml
+++ b/pom.xml
@@ -246,7 +246,7 @@
org.yaml
snakeyaml
- 1.26
+ 2.3
compile
diff --git a/src/main/java/com/loohp/limbo/file/FileConfiguration.java b/src/main/java/com/loohp/limbo/file/FileConfiguration.java
index de7c22a..a1f35c7 100644
--- a/src/main/java/com/loohp/limbo/file/FileConfiguration.java
+++ b/src/main/java/com/loohp/limbo/file/FileConfiguration.java
@@ -121,7 +121,7 @@ public class FileConfiguration {
options.setIndent(2);
options.setPrettyFlow(true);
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
- Representer customRepresenter = new Representer();
+ Representer customRepresenter = new Representer(options);
YamlOrder customProperty = new YamlOrder();
customRepresenter.setPropertyUtils(customProperty);
Yaml yaml = new Yaml(customRepresenter, options);
@@ -145,7 +145,7 @@ public class FileConfiguration {
options.setIndent(2);
options.setPrettyFlow(true);
options.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
- Representer customRepresenter = new Representer();
+ Representer customRepresenter = new Representer(options);
YamlOrder customProperty = new YamlOrder();
customRepresenter.setPropertyUtils(customProperty);
Yaml yaml = new Yaml(customRepresenter, options);