mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-31 21:03:48 +01:00
Fix some bugs?
This commit is contained in:
parent
9950604867
commit
7244d63e1e
4 changed files with 42 additions and 15 deletions
|
|
@ -84,13 +84,16 @@ public unsafe class MetaFileManager
|
|||
: CharacterUtility.TemporarilySetResource(metaIndex, (nint)file.Data, file.Length)
|
||||
: MetaList.MetaReverter.Disabled;
|
||||
|
||||
public void ApplyDefaultFiles(ModCollection collection)
|
||||
public void ApplyDefaultFiles(ModCollection? collection)
|
||||
{
|
||||
if (ActiveCollections.Default != collection || !CharacterUtility.Ready || !Config.EnableMods)
|
||||
return;
|
||||
|
||||
ResidentResources.Reload();
|
||||
collection._cache?.Meta.SetFiles();
|
||||
if (collection?._cache == null)
|
||||
CharacterUtility.ResetAll();
|
||||
else
|
||||
collection._cache.Meta.SetFiles();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue