diff --git a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/profiles/LocalProfilesProvider.java b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/profiles/LocalProfilesProvider.java index 9abd49bd..0df9cbf6 100644 --- a/LaunchServer/src/main/java/pro/gravit/launchserver/auth/profiles/LocalProfilesProvider.java +++ b/LaunchServer/src/main/java/pro/gravit/launchserver/auth/profiles/LocalProfilesProvider.java @@ -237,6 +237,9 @@ public HashedDir getUpdatesDir(String updateName) { @Override public void init(LaunchServer server) { super.init(server); + if(server.env == LaunchServer.LaunchServerEnv.TEST) { + return; + } try { if (!IOHelper.isDir(Path.of(updatesDir))) Files.createDirectory(Path.of(updatesDir));