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 0df9cbf6..228de8c0 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 @@ -320,7 +320,7 @@ public void invoke(String... args) throws Exception { try { if (!IOHelper.isDir(Path.of(updatesDir))) Files.createDirectory(Path.of(updatesDir)); - readUpdatesDir(); + sync(null); } catch (IOException e) { logger.error("Updates not synced", e); }