Skip to content

Commit

Permalink
fix "getMinecraftFolder"
Browse files Browse the repository at this point in the history
  • Loading branch information
cubewhy committed Jan 20, 2024
1 parent 272a60d commit 8c7b0ec
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/main/java/org/cubewhy/celestial/Celestial.java
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 8c7b0ec

Please sign in to comment.