Merge pull request #8 from programmerpony/home-linux

Check home directory for Minecraft files on Linux
This commit is contained in:
TheMode 2020-05-31 19:14:24 +02:00 committed by GitHub
commit ce89963240
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -165,6 +165,6 @@ public class ResourceGatherer {
return new File(user + "/Library/Application Support/minecraft");
}
return new File("~/.minecraft");
return new File(System.getProperty("user.home") + "/.minecraft");
}
}