mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Fix deleting PCP collections.
This commit is contained in:
parent
a04a5a071c
commit
f7cf5503bb
1 changed files with 1 additions and 1 deletions
|
|
@ -84,7 +84,7 @@ public class PcpService : IApiService, IDisposable
|
||||||
var collections = _collections.Storage.Where(c => c.Identity.Name.StartsWith("PCP/")).ToList();
|
var collections = _collections.Storage.Where(c => c.Identity.Name.StartsWith("PCP/")).ToList();
|
||||||
Penumbra.Log.Information($"[PCPService] Deleting {collections.Count} mods containing the tag PCP.");
|
Penumbra.Log.Information($"[PCPService] Deleting {collections.Count} mods containing the tag PCP.");
|
||||||
foreach (var collection in collections)
|
foreach (var collection in collections)
|
||||||
_collections.Storage.Delete(collection);
|
_collections.Storage.RemoveCollection(collection);
|
||||||
}
|
}
|
||||||
|
|
||||||
private void OnModPathChange(ModPathChangeType type, Mod mod, DirectoryInfo? oldDirectory, DirectoryInfo? newDirectory)
|
private void OnModPathChange(ModPathChangeType type, Mod mod, DirectoryInfo? oldDirectory, DirectoryInfo? newDirectory)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue