diff --git a/.idea/vcs.xml b/.idea/vcs.xml index 9661ac71..c8397c94 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -1,6 +1,6 @@ - + \ No newline at end of file diff --git a/src/main/java/org/cubewhy/celestial/Celestial.java b/src/main/java/org/cubewhy/celestial/Celestial.java index f4ac8dc2..561d56e8 100644 --- a/src/main/java/org/cubewhy/celestial/Celestial.java +++ b/src/main/java/org/cubewhy/celestial/Celestial.java @@ -276,7 +276,7 @@ private static File getMinecraftFolder() { if (os.equals(OSEnum.Windows)) { return new File(System.getenv("APPDATA"), ".minecraft"); } - return new File(System.getProperty("user.home", ".minecraft")); + return new File(System.getProperty("user.home"), ".minecraft"); } public static void initTheme() throws IOException {