diff --git a/src/main/java/net/minestom/server/registry/ResourceGatherer.java b/src/main/java/net/minestom/server/registry/ResourceGatherer.java index 4cb626326..cd9c20583 100644 --- a/src/main/java/net/minestom/server/registry/ResourceGatherer.java +++ b/src/main/java/net/minestom/server/registry/ResourceGatherer.java @@ -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"); } }