mirror of
https://github.com/Minestom/Minestom.git
synced 2025-02-01 04:51:29 +01:00
Merge pull request #8 from programmerpony/home-linux
Check home directory for Minecraft files on Linux
This commit is contained in:
commit
ce89963240
@ -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");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user