From c0acf8b1baa3d1c4cf8e63ed6d8c4bdde80c0410 Mon Sep 17 00:00:00 2001 From: mzfqy Date: Tue, 3 May 2022 23:11:28 +0800 Subject: [PATCH] fix path --- src/main/java/emu/grasscutter/Grasscutter.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/emu/grasscutter/Grasscutter.java b/src/main/java/emu/grasscutter/Grasscutter.java index a9f5e9c87..b7aae11d1 100644 --- a/src/main/java/emu/grasscutter/Grasscutter.java +++ b/src/main/java/emu/grasscutter/Grasscutter.java @@ -151,7 +151,7 @@ public final class Grasscutter { saveConfig(); try { - File folder = new File("./language"); + File folder = new File("./languages"); if (!folder.exists() && !folder.isDirectory()) { //noinspection ResultOfMethodCallIgnored folder.mkdirs(); @@ -159,7 +159,7 @@ public final class Grasscutter { } catch (Exception ee) { Grasscutter.getLogger().error("Unable to create language folder."); } - try (FileWriter file = new FileWriter("./language/en_us.json")) { + try (FileWriter file = new FileWriter("./languages/en_us.json")) { file.write(gson.toJson(language)); } catch (Exception ee) { Grasscutter.getLogger().error("Unable to create language file.");