mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-03 23:17:48 +01:00
Check home directory for Minecraft files on Linux
This commit is contained in:
parent
f8758d2933
commit
ab3578b84d
@ -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