From ab1fa64f7a3c41bf53cc52aef18f2f4004a0d283 Mon Sep 17 00:00:00 2001 From: Gravita <12893402+gravit0@users.noreply.github.com> Date: Sat, 21 Jun 2025 17:00:36 +0700 Subject: [PATCH] [FIX] Fix sync command --- .../launchserver/auth/profiles/LocalProfilesProvider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }