Compare commits

..

1 commit

Author SHA1 Message Date
Antoni
535b0eeba8
Merge 0e1691ee4c into 324de7226d 2025-06-23 18:56:04 +03:00

View file

@ -106,15 +106,6 @@ public CompletedProfile pushUpdate(UncompletedProfile profile, String tag, Clien
LocalProfile localProfile = (LocalProfile) profile;
localProfile = new LocalProfile(clientProfile, localProfile.clientDir, localProfile.assetDir);
localProfile.profile = clientProfile;
if(flags.contains(UpdateFlag.USE_DEFAULT_ASSETS)) {
if(getUpdatesDir("assets") == null) {
Path assetDirPath = updatesDirPath.resolve("assets");
if(!Files.exists(assetDirPath)) {
Files.createDirectories(assetDirPath);
}
updatesDirMap.put("assets", new HashedDir(assetDirPath, null, true, true));
}
}
if(assetActions != null && !assetActions.isEmpty()) {
Path assetDir = updatesDirPath.resolve(clientProfile.getAssetDir());
execute(localProfile.assetDir, assetDir, assetActions);