3
0
KCauldronX/patches/org/bukkit/configuration/file/YamlConfiguration.java.patch
2017-06-25 19:16:18 +08:00

12 lines
550 B
Diff

--- ../src-base/minecraft/org/bukkit/configuration/file/YamlConfiguration.java
+++ ../src-work/minecraft/org/bukkit/configuration/file/YamlConfiguration.java
@@ -33,7 +33,7 @@
public String saveToString() {
yamlOptions.setIndent(options().indent());
yamlOptions.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
- yamlOptions.setAllowUnicode(SYSTEM_UTF);
+ yamlOptions.setAllowUnicode(true);
yamlRepresenter.setDefaultFlowStyle(DumperOptions.FlowStyle.BLOCK);
String header = buildHeader();