9
0
mirror of https://github.com/Xiao-MoMi/Custom-Crops.git synced 2025-12-27 19:09:09 +00:00

Update default configs

This commit is contained in:
XiaoMoMi
2024-09-07 00:16:25 +08:00
parent 3ee9295814
commit 3a8fb364fe
4 changed files with 6 additions and 6 deletions

View File

@@ -484,7 +484,7 @@ public abstract class ConfigManager implements ConfigLoader, Reloadable {
new OutputStreamWriter(new FileOutputStream(file), StandardCharsets.UTF_8))) {
String finalStr = sb.toString();
if (!hasNamespace) {
finalStr = finalStr.replace("CHORUS", "TRIPWIRE").replace("<font:customcrops:default>", "<font:minecraft:customcrops>");
finalStr = finalStr.replace("<font:customcrops:default>", "<font:minecraft:customcrops>");
}
writer.write(finalStr.replace("{0}", hasNamespace ? "customcrops:" : ""));
} catch (IOException e) {